]> Dogcows Code - chaz/tar/commitdiff
Initial revision
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Apr 1997 05:59:41 +0000 (05:59 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Apr 1997 05:59:41 +0000 (05:59 +0000)
tests/delete01.sh [new file with mode: 0755]

diff --git a/tests/delete01.sh b/tests/delete01.sh
new file mode 100755 (executable)
index 0000000..9a5813f
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+# Deleting a member after a big one was destroying the archive.
+
+. ./preset
+. $srcdir/before
+
+set -e
+genfile -l 50000 > file1
+genfile -l 1024 > file2
+tar cf archive file1 file2
+tar f archive --delete file2
+tar tf archive
+
+out="\
+file1
+"
+
+. $srcdir/after
This page took 0.022434 seconds and 4 git commands to generate.