summaryrefslogtreecommitdiff
path: root/t/dist-no-built-sources.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/dist-no-built-sources.sh')
-rw-r--r--t/dist-no-built-sources.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/dist-no-built-sources.sh b/t/dist-no-built-sources.sh
index 020359c71..aa9d5f15c 100644
--- a/t/dist-no-built-sources.sh
+++ b/t/dist-no-built-sources.sh
@@ -58,8 +58,9 @@ EOF
# In any case, the tarball should contain y.c, but not x.c.
# The tarball is always named based on $0, regardless of our options.
pkg_ver=$me-1.0
- ! tar tf "${pkg_ver}".tar.gz "${pkg_ver}"/x.c
- tar tf "${pkg_ver}".tar.gz "${pkg_ver}"/y.c
+ gzip -d "${pkg_ver}".tar.gz
+ ! tar tf "${pkg_ver}".tar "${pkg_ver}"/x.c
+ tar tf "${pkg_ver}".tar "${pkg_ver}"/y.c
# And x.c should have been built only for the built-sources version.
if test "$testopt" = no-built-sources; then