Hi Paul, thanks for reporting. It was a simple bug with a flaky test. See the attached patch.

Thank you for testing.


-------- Forwarded Message --------
Subject: [automake-commit] branch master updated: t/tar-non-gnu: fix bug#82167
Date: Mon, 02 Nov 2026 02:38:36 -0500
From: Kamila Szewczyk <[email protected]>
Reply-To: [email protected], Kamila Szewczyk <[email protected]>
To: [email protected]

This is an automated email from the git hooks/post-receive script.

iczelia pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=82c58588381ba3980145b4eadca83b471777784b

The following commit(s) were added to refs/heads/master by this push:
     new 82c585883 t/tar-non-gnu: fix bug#82167
82c585883 is described below

commit 82c58588381ba3980145b4eadca83b471777784b
Author: Kamila Szewczyk <[email protected]>
AuthorDate: Mon Nov 2 08:38:14 2026 +0100

    t/tar-non-gnu: fix bug#82167
---
 t/tar-non-gnu.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/t/tar-non-gnu.sh b/t/tar-non-gnu.sh
index 770348dcb..ea4fdf2e5 100755
--- a/t/tar-non-gnu.sh
+++ b/t/tar-non-gnu.sh
@@ -27,6 +27,13 @@ case $("$real_tar" --version 2>/dev/null) in
 esac
  mkdir bsd busybox both
+# Do not let GNU tar aliases from the host affect the simulated tools.
+for d in bsd busybox both; do
+  for tool in gnutar gtar; do
+    printf '%s\n' '#! /bin/sh' 'exit 1' > $d/$tool
+    chmod a+x $d/$tool
+  done
+done
# A bsdtar look-alike: identifies itself differently, but supports --format=.
 cat > bsd/tar <<END
 #! /bin/sh

Attachment: OpenPGP_0xC868F0B6DE38409D.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to