X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Fincremental.at;h=366c0330d1d69ae943a579d030416fabc9ea3c99;hb=d3daaa199aca7497bb507f92b693c8457353f96a;hp=bab0beba144f8da039f646bd8454d9bbc7b15d04;hpb=138fc7e67e3d9845cd7d81aad0e9c7724784f9b9;p=debian%2Ftar diff --git a/tests/incremental.at b/tests/incremental.at index bab0beba..366c0330 100644 --- a/tests/incremental.at +++ b/tests/incremental.at @@ -39,12 +39,15 @@ ls -l structure/file >/dev/null # command, behaviour of tar becomes variable, depending whether the system # clock ticked over to the next second between creating the file and # backing it up. -sleep 1 +sleep 2 tar cf archive --listed=list structure tar cfv archive --listed=list structure echo separator -sleep 1 +# ReiserFS often offsets the timestamps of newly created files +# 1 second to the past. Try to compensate for it, until a better +# solution is found. +sleep 2 echo y >structure/file tar cfv archive --listed=list structure ],