]> Dogcows Code - chaz/tar/commitdiff
GNU tar 1.13
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Apr 1997 12:50:05 +0000 (12:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Apr 1997 12:50:05 +0000 (12:50 +0000)
tests/delete02.sh [new file with mode: 0755]

diff --git a/tests/delete02.sh b/tests/delete02.sh
new file mode 100755 (executable)
index 0000000..c202cac
--- /dev/null
@@ -0,0 +1,26 @@
+#! /bin/sh
+# Deleting a member with the archive from stdin was not working correctly.
+
+. ./preset
+. $srcdir/before
+
+set -e
+genfile -l 3073 -p zeros > 1
+cp 1 2
+cp 2 3
+tar cf archive 1 2 3
+tar tf archive
+cat archive | tar f - --delete 2 > archive2
+echo -----
+tar tf archive
+
+out="\
+1
+2
+3
+-----
+1
+3
+"
+
+. $srcdir/after
This page took 0.026677 seconds and 4 git commands to generate.