summaryrefslogtreecommitdiffstats
path: root/tools/regression/fstest/tests/rename/21.t
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/fstest/tests/rename/21.t')
-rw-r--r--tools/regression/fstest/tests/rename/21.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/regression/fstest/tests/rename/21.t b/tools/regression/fstest/tests/rename/21.t
index a9445c7..7fa2f9c 100644
--- a/tools/regression/fstest/tests/rename/21.t
+++ b/tools/regression/fstest/tests/rename/21.t
@@ -37,9 +37,12 @@ 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}
OpenPOWER on IntegriCloud