]> Dogcows Code - chaz/tar/commitdiff
Initial revision
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Jan 1997 00:53:35 +0000 (00:53 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Jan 1997 00:53:35 +0000 (00:53 +0000)
tests/extrac02.sh [new file with mode: 0755]

diff --git a/tests/extrac02.sh b/tests/extrac02.sh
new file mode 100755 (executable)
index 0000000..7a3c131
--- /dev/null
@@ -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
This page took 0.022286 seconds and 4 git commands to generate.