From cbaf56bf53ddcf5502e932370c0b293c7d0a45a8 Mon Sep 17 00:00:00 2001 From: pjd Date: Mon, 24 Nov 2008 16:33:23 +0000 Subject: This actually works on Linux, I just had wrong directory permission. Found by: trasz --- tools/regression/fstest/tests/rename/21.t | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools/regression/fstest') diff --git a/tools/regression/fstest/tests/rename/21.t b/tools/regression/fstest/tests/rename/21.t index 7fa2f9c..4469745 100644 --- a/tools/regression/fstest/tests/rename/21.t +++ b/tools/regression/fstest/tests/rename/21.t @@ -37,14 +37,10 @@ expect ENOENT rmdir ${n3}/${n1} # Check that write permission on containing directory (${n2}) is enough # to move file (${n0}) from that directory. expect 0 create ${n2}/${n0} 0755 -todo Linux "According to POSIX, write access to ${n2}/${n0} and (if exists) ${n3}/${n1} may be required if ${n0} and (if exists) ${n1} are directories, not regular files." expect 0 -u 65534 -g 65534 rename ${n2}/${n0} ${n3}/${n1} -todo Linux "According to POSIX, write access to ${n2}/${n0} and (if exists) ${n3}/${n1} may be required if ${n0} and (if exists) ${n1} are directories, not regular files." expect 0 unlink ${n3}/${n1} -todo Linux "According to POSIX, write access to ${n2}/${n0} and (if exists) ${n3}/${n1} may be required if ${n0} and (if exists) ${n1} are directories, not regular files." expect ENOENT unlink ${n2}/${n0} expect 0 rmdir ${n3} expect 0 rmdir ${n2} - -- cgit v1.1