From: Paul Eggert Date: Fri, 25 Apr 1997 12:50:05 +0000 (+0000) Subject: GNU tar 1.13 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1a110ed9decd5c7bfe90ba52d132f7732769424f;p=chaz%2Ftar GNU tar 1.13 --- diff --git a/tests/delete02.sh b/tests/delete02.sh new file mode 100755 index 0000000..c202cac --- /dev/null +++ b/tests/delete02.sh @@ -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