]> git.cworth.org Git - tar/blobdiff - tests/incremental.at
upstream: Fix extraction of device nodes.
[tar] / tests / incremental.at
index bab0beba144f8da039f646bd8454d9bbc7b15d04..366c0330d1d69ae943a579d030416fabc9ea3c99 100644 (file)
@@ -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
 ],