]> Dogcows Code - chaz/tar/blobdiff - tests/listed02.at
Reverted changes
[chaz/tar] / tests / listed02.at
index cdfd16d100b2510e3573c4762928b4cd969e952a..8b4e30b060e7c834d56c732eb6fcdb968fde941c 100644 (file)
@@ -29,7 +29,6 @@ AT_SETUP([working --listed])
 AT_KEYWORDS([listed02])
 
 AT_TAR_CHECK([
-mkdir directory
 
 echo Create directories
 mkdir tart
@@ -52,7 +51,16 @@ tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart || exit 1
 sleep 1
 echo Modifying filesystem
 rm tart/a1
+
+# Current incremental backup algorithm is not able to cope with
+# renamed files on filesystems that do not change ctime when
+# renaming. So, if we're on such filesystem, we skip this test.
+CTIME=`genfile --stat=ctime tart/b1`
 mv tart/b1 tart/b2
+if test $CTIME -eq `genfile --stat=ctime tart/b2`; then
+  AT_SKIP_TEST
+fi
+# 
 mv tart/c1 tart/c2
 touch tart/c2/ca3
 
This page took 0.022118 seconds and 4 git commands to generate.