From: Paul Eggert Date: Tue, 22 Apr 1997 05:59:41 +0000 (+0000) Subject: Initial revision X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c782efa45f11de558d3acd8a459d7e7b804f2aec;p=chaz%2Ftar Initial revision --- diff --git a/tests/delete01.sh b/tests/delete01.sh new file mode 100755 index 0000000..9a5813f --- /dev/null +++ b/tests/delete01.sh @@ -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