Paul Eggert 28 anni fa
parent
commit
d7010d945a
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      tests/extrac01.sh

+ 13 - 0
tests/extrac01.sh

@@ -0,0 +1,13 @@
+#! /bin/sh
+# There was a diagnostic when directory already exists.
+
+. ./preset
+. $srcdir/before
+
+set -e
+mkdir directory
+touch directory/file
+tar cf archive directory || exit 1
+tar xf archive || exit 1
+
+. $srcdir/after