correct behaviour is unclear
[rsync/rsync.git] / testsuite / unsafe-byname.test
index e18c112..2217f07 100644 (file)
@@ -14,11 +14,11 @@ test_unsafe() {
     fi
 }
 
-test_unsafe file from safe
-test_unsafe dir/file from safe
-test_unsafe dir/./file from safe
-test_unsafe dir/. from safe
-test_unsafe dir/ from safe
+test_unsafe file               from                    safe
+test_unsafe dir/file           from                    safe
+test_unsafe dir/./file         from                    safe
+test_unsafe dir/.              from safe
+test_unsafe dir/               from safe
 
 test_unsafe /etc/passwd                from unsafe
 test_unsafe //../etc/passwd    from unsafe
@@ -38,6 +38,10 @@ test_unsafe ../files/file1          safe     unsafe
 test_unsafe ../../unsafe/unsafefile    `pwd`/from/safe safe
 test_unsafe ../files/file1            `pwd`/from/safe  safe
 
+# I think these are correct, but I don't really understand the code.
+# Waiting for an answer from dwd
+test_skipped "correct behaviour is unclear"
+
 # Test suspicious handling of '..' in srcdir
 test_unsafe ../../unsafe/unsafefile    from/safe/../safe       unsafe
 test_unsafe ../files/file1            from/safe/../safe        safe