I noticed that tests/init.sh is copied to many GNU projects for their own test suite (manually I assume). This means that on BSD the use of '-t' spams the -pXXXX directories in /tmp. I noticed this when looking at something unrelated in diffutils earlier.
While copying the file over I noticed a call to 'fail_' had a typo. I've committed this patch fixing it. If someone wants to update these packages that would be nice. :) $ find . -name 'init.sh' | xargs grep -l 'mktemp -d -t -p' ./cppi/tests/init.sh ./diffutils/tests/init.sh ./grep/tests/init.sh ./parted/tests/init.sh ./sed/testsuite/init.sh ./vc-dwim/tests/init.sh ./gzip/tests/init.sh ./findutils/tests/init.sh Collin
>From 9055dbb4a0585eaf7d8e98d1ddb0f47e4ffe22fa Mon Sep 17 00:00:00 2001 From: Collin Funk <collin.fu...@gmail.com> Date: Sun, 23 Jun 2024 18:28:26 -0700 Subject: [PATCH] test-framework-sh: Fix typo in function invocation (regression 2024-06-11). * tests/init.sh (mktempd_): Invoke fail_ properly. --- ChangeLog | 5 +++++ tests/init.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf82a188fc..5972064bdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-06-23 Collin Funk <collin.fu...@gmail.com> + + test-framework-sh: Fix typo in function invocation (regression 2024-06-11). + * tests/init.sh (mktempd_): Invoke fail_ properly. + 2024-06-22 Bruno Haible <br...@clisp.org> obstack-zprintf: Add more tests. diff --git a/tests/init.sh b/tests/init.sh index c374e5f014..d33ef61788 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -338,7 +338,7 @@ mktempd_ () esac case $template_ in - -*) fail _ \ + -*) fail_ \ "invalid template: $template_ (must not begin with '-')";; *XXXX) ;; *) fail_ \ -- 2.45.2