From: Paul Eggert Date: Wed, 22 Jan 1997 00:53:35 +0000 (+0000) Subject: Initial revision X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8c070ff6699a21114c2116c1e72efaadbc345b4e;p=chaz%2Ftar Initial revision --- diff --git a/tests/extrac02.sh b/tests/extrac02.sh new file mode 100755 index 0000000..7a3c131 --- /dev/null +++ b/tests/extrac02.sh @@ -0,0 +1,15 @@ +#! /bin/sh +# Could not extract symlinks over an existing file. + +. ./preset +. $srcdir/before + +set -e +touch file +ln -s file link 2> /dev/null || ln file link +tar cf archive link +rm link +touch link +tar xf archive + +. $srcdir/after