X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=tests%2Fincremental.at;h=366c0330d1d69ae943a579d030416fabc9ea3c99;hb=HEAD;hp=bab0beba144f8da039f646bd8454d9bbc7b15d04;hpb=138fc7e67e3d9845cd7d81aad0e9c7724784f9b9;p=tar diff --git a/tests/incremental.at b/tests/incremental.at index bab0beb..366c033 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 ],