[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bizarre failures on NetBSD 9.3 x86_64
From: |
Bruno Haible |
Subject: |
Re: bizarre failures on NetBSD 9.3 x86_64 |
Date: |
Wed, 10 May 2023 22:58:16 +0200 |
Dennis Clarke wrote:
> bash-5.1$ echo $CONFIG_SHELL
> /usr/pkg/bin/bash
> bash-5.1$
>
> Guess what ?
>
> ============================================================================
> Testsuite summary for GNU patch 2.7.6
> ============================================================================
> # TOTAL: 44
> # PASS: 42
> # SKIP: 0
> # XFAIL: 2
> # FAIL: 0
> # XPASS: 0
> # ERROR: 0
> ============================================================================
>
> Gotta love the need for GNU bash for this to work. Makes no sense at all
> for "patch".
Interesting. I came up with a workaround, by modifying test-lib.sh, and it
is in fact already committed in git:
https://git.savannah.gnu.org/gitweb/?p=patch.git;a=commitdiff;h=7623b2dc0d1837ecfd58f32efc78e35834deeb38
But for me, then I get a test failure, see attached log file.
The error messages "shift: can't shift that many" and
"test: ==: unexpected operator" indicate another shell problem.
Bruno
test-suite.log
Description: Text Data