summaryrefslogtreecommitdiff
path: root/t/tar-ustar.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/tar-ustar.sh')
-rwxr-xr-xt/tar-ustar.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/t/tar-ustar.sh b/t/tar-ustar.sh
index 58e52eabf..c146ad98a 100755
--- a/t/tar-ustar.sh
+++ b/t/tar-ustar.sh
@@ -18,8 +18,8 @@
. test-init.sh
-cat > configure.ac << 'END'
-AC_INIT([tar], [1.0])
+cat > configure.ac <<END
+AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([tar-ustar])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
@@ -32,9 +32,12 @@ $AUTOCONF
$AUTOMAKE
./configure
-if grep 'am__tar.*false' Makefile; then
+grep 'am__tar' Makefile # For debugging.
+if grep '^am__tar = false' Makefile; then
skip_ "cannot find proper archiver program"
fi
$MAKE distcheck
-test -f tar-1.0.tar.gz
+test -f "$distdir.tar.gz"
+
+: