summaryrefslogtreecommitdiff
path: root/t/tar-ustar.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-04-30 15:35:46 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-04-30 15:35:46 +0200
commit96b1303de222614b325b6744e61addf15d4f80cf (patch)
tree69ae150d15d7585b83e76ff546f0ad0f9140696f /t/tar-ustar.sh
parentf0d1288f3a2033577ee4e374d203bcb5d8477a9d (diff)
parent2a40fa7174961a0eb0ca08280ab638ed1998ead4 (diff)
downloadautomake-96b1303de222614b325b6744e61addf15d4f80cf.tar.gz
Merge branch 'branch-1.13.2' into maint
* branch-1.13.2: sync: update files from upstream with "make fetch" maintcheck: remove outdated whitelisting tar: format 'ustar' cannot support UID/GID longer than 21 bits Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
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"
+
+: