[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: Fix bashism in testsuite.at
From: |
Sam James |
Subject: |
Re: [PATCH] tests: Fix bashism in testsuite.at |
Date: |
Tue, 18 Jul 2023 22:45:08 +0100 |
User-agent: |
mu4e 1.10.4; emacs 29.0.92 |
Paul Eggert <eggert@cs.ucla.edu> writes:
> On 2023-07-18 08:45, Sam James wrote:
>> &> is a bashism and causes various tests to fail with /bin/sh as non-bash
>> (e.g. dash).
>
> Thanks, I installed that, with a "Copyright-paperwork-exempt: true"
> line in the commit message (rather than with a "Signed-off-by:" line)
> as per the usual Gnu rules.
Thanks.
>
> This problem has been in GNU Tar for a decade. On my Ubuntu 23.04
> platform, which says it has dash 0.5.12-2ubuntu1, the tests didn't
> fail, though they wrongly didn't test either. Is your 'dash' newer and
> pickier?
My dash is 0.5.12 as well. I suspect it was a series of unfortunate
events - on occasion, I change my /bin/sh back to Bash temporarily to
confirm/deny a bug is related, and I sometimes forget to change it back
immediately.
Someone reported https://bugs.gentoo.org/738826 in 2020 at least which
I didn't spot until now, so I think you're right that this isn't new at
all, and just nobody noticed it until now.
cheers!
signature.asc
Description: PGP signature