diff options
author | pjd <pjd@FreeBSD.org> | 2008-11-24 16:33:23 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-11-24 16:33:23 +0000 |
commit | cbaf56bf53ddcf5502e932370c0b293c7d0a45a8 (patch) | |
tree | 1911f85168f9904a04d15a3c927767934d19da32 /tools | |
parent | 6f10d4552d9f9bf1ac57fa7509cb30007105a0b7 (diff) | |
download | FreeBSD-src-cbaf56bf53ddcf5502e932370c0b293c7d0a45a8.zip FreeBSD-src-cbaf56bf53ddcf5502e932370c0b293c7d0a45a8.tar.gz |
This actually works on Linux, I just had wrong directory permission.
Found by: trasz
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/fstest/tests/rename/21.t | 4 |
1 files changed, 0 insertions, 4 deletions
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} - |