From d8b24b63e86c365886d41002067e559aba5bfb74 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 3 Feb 2005 00:04:30 +0000 Subject: [PATCH] Skip the test on filesystems that do not update ctime of a file when renaming it. To be reverted when the new incremental mode is ready. --- tests/listed02.at | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/listed02.at b/tests/listed02.at index 8c576b2..8b4e30b 100644 --- a/tests/listed02.at +++ b/tests/listed02.at @@ -51,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 -- 2.45.2