]> Dogcows Code - chaz/tar/commitdiff
GNU tar 1.13
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Apr 1997 00:53:18 +0000 (00:53 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Apr 1997 00:53:18 +0000 (00:53 +0000)
tests/extrac03.sh [new file with mode: 0755]

diff --git a/tests/extrac03.sh b/tests/extrac03.sh
new file mode 100755 (executable)
index 0000000..49cf46d
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh
+# Paths going up and down were inducing extraction loops.
+
+. ./preset
+. $srcdir/before
+
+set -e
+mkdir directory
+tar cfv archive directory/../directory
+echo -----
+tar xfv archive
+
+out="\
+directory/../directory/
+-----
+directory/../directory/
+"
+
+. $srcdir/after
This page took 0.025958 seconds and 4 git commands to generate.