From 51d54e051a584c12d8ecaa1fa260000f94b16c30 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 23 Apr 1997 00:53:18 +0000 Subject: [PATCH] GNU tar 1.13 --- tests/extrac03.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/extrac03.sh diff --git a/tests/extrac03.sh b/tests/extrac03.sh new file mode 100755 index 0000000..49cf46d --- /dev/null +++ b/tests/extrac03.sh @@ -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 -- 2.45.2