]> Dogcows Code - chaz/tar/commitdiff
GNU tar 1.12
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Nov 1996 19:58:28 +0000 (19:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Nov 1996 19:58:28 +0000 (19:58 +0000)
tests/incremen.sh [new file with mode: 0755]

diff --git a/tests/incremen.sh b/tests/incremen.sh
new file mode 100755 (executable)
index 0000000..c723e9c
--- /dev/null
@@ -0,0 +1,25 @@
+#! /bin/sh
+# A directory older than the listed entry was skipped completely.
+
+. ./preset
+. $srcdir/before
+
+set -e
+mkdir structure
+touch structure/file
+# FIXME: The sleep is necessary for the second tar to work.  Exactly why?
+sleep 1
+tar cf archive --listed=list structure
+tar cfv archive --listed=list structure
+echo -----
+touch structure/file
+tar cfv archive --listed=list structure
+
+out="\
+structure/
+-----
+structure/
+structure/file
+"
+
+. $srcdir/after
This page took 0.021781 seconds and 4 git commands to generate.