From 8c070ff6699a21114c2116c1e72efaadbc345b4e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 22 Jan 1997 00:53:35 +0000 Subject: [PATCH] Initial revision --- tests/extrac02.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tests/extrac02.sh 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 -- 2.45.2