GNU tar 1.13

This commit is contained in:
Paul Eggert
1997-04-25 12:50:05 +00:00
parent f6440fc226
commit 1a110ed9de

26
tests/delete02.sh Executable file
View File

@@ -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