On NetBSD 10.0, there is a test failure (seen both on my NetBSD VM
and on the GitHub CI). Find attached the log file.

==================================================
   GNU M4 1.4.19.60-6ebfc: tests/test-suite.log
==================================================

# TOTAL: 362
# PASS:  310
# SKIP:  51
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

System information (uname -a): NetBSD 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

.. contents:: :depth: 2

FAIL: test-option-parser.sh
===========================

== running in '/bin/ksh' ==
[[ output check ]] args: --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --debug --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --test jej --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --debug --test jej --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --test=jej --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --debug --test=jej --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --test= --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --debug --test= --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --test=
error: unexpected exit status 1 0
expected:
EMPTY_TEST
given:

error: unexpected output
[[ output check ]] args: --debug --test=
error: unexpected exit status 1 0
expected:
EMPTY_TEST
given:

error: unexpected output
[[ output check ]] args: -t ""
error: unexpected exit status 1 0
expected:
EMPTY_TEST
given:

error: unexpected output
[[ output check ]] args: --debug -t ""
error: unexpected exit status 1 0
expected:
EMPTY_TEST
given:

error: unexpected output
[[ output check ]] args: --test ""
error: unexpected exit status 1 0
expected:
EMPTY_TEST
given:

error: unexpected output
[[ output check ]] args: --debug --test ""
error: unexpected exit status 1 0
expected:
EMPTY_TEST
given:

error: unexpected output
[[ output check ]] args: --test=false
expected:
FALSE_TEST
given:

error: unexpected output
[[ output check ]] args: --debug --test=false
expected:
FALSE_TEST
given:

error: unexpected output
[[ output check ]] args: -tfalse
expected:
FALSE_TEST
given:

error: unexpected output
[[ output check ]] args: --debug -tfalse
expected:
FALSE_TEST
given:

error: unexpected output
[[ output check ]] args: -t false
expected:
FALSE_TEST
given:

error: unexpected output
[[ output check ]] args: --debug -t false
expected:
FALSE_TEST
given:

error: unexpected output
[[ output check ]] args: 
error: unexpected exit status 1 0
expected:
UNSET_TEST
given:

error: unexpected output
[[ output check ]] args: --debug
error: unexpected exit status 1 0
expected:
UNSET_TEST
given:

error: unexpected output
[[ output check ]] args: a
error: unexpected exit status 1 0
expected:
ONE_ARG a
given:

error: unexpected output
[[ output check ]] args: --debug a
error: unexpected exit status 1 0
expected:
ONE_ARG a
given:

error: unexpected output
[[ output check ]] args: a b c
error: unexpected exit status 1 0
expected:
THREE_ARGS
given:

error: unexpected output
[[ output check ]] args: --debug a b c
error: unexpected exit status 1 0
expected:
THREE_ARGS
given:

error: unexpected output
[[ output check ]] args: a b c d
error: unexpected exit status 1 0
expected:
MORE_ARGS
given:

error: unexpected output
[[ output check ]] args: --debug a b c d
error: unexpected exit status 1 0
expected:
MORE_ARGS
given:

error: unexpected output
[[ output check ]] args: short
error: unexpected exit status 1 0
expected:
SHORTCUT
given:

error: unexpected output
[[ output check ]] args: --debug short
error: unexpected exit status 1 0
expected:
SHORTCUT
given:

error: unexpected output
[[ output check ]] args: shortcut
error: unexpected exit status 1 0
expected:
SHORTCUT
given:

error: unexpected output
[[ output check ]] args: --debug shortcut
error: unexpected exit status 1 0
expected:
SHORTCUT
given:

error: unexpected output
[[ output check ]] args: short --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: --debug short --help
error: unexpected exit status 1 0
expected:
HELP
given:

error: unexpected output
[[ output check ]] args: eval "echo eval ; exit 4"
error: unexpected exit status 1 4
expected:
eval
given:

error: unexpected output
[[ output check ]] args: --debug eval "echo eval ; exit 4"
error: unexpected exit status 1 4
expected:
eval
given:

error: unexpected output
[[ output check ]] args: validate_out eval "echo eval ; exit 4"
error: unexpected exit status 1 4
expected:
eval
given:

error: unexpected output
[[ output check ]] args: --debug validate_out eval "echo eval ; exit 4"
error: unexpected exit status 1 4
expected:
eval
given:

error: unexpected output
[[ retval check ]] args: --test
[[ retval check ]] args: --not-existent
[[ retval check ]] args: short --not-existent
[[ grep for 'test-version' ]] args: --version
error: test-version is not in stdout 
error: unexpected retval 1 (should be 0)
[[ grep for 'test-version' ]] args: --version --whatever
error: test-version is not in stdout 
error: unexpected retval 1 (should be 0)
[[ grep for 'test-version' ]] args: --debug --version
error: test-version is not in stdout 
error: unexpected retval 1 (should be 0)
error: can't run in /bin/ksh
== running in 'default shell' ==
[[ output check ]] args: --help
[[ output check ]] args: --debug --help
[[ output check ]] args: --test jej --help
[[ output check ]] args: --debug --test jej --help
[[ output check ]] args: --test=jej --help
[[ output check ]] args: --debug --test=jej --help
[[ output check ]] args: --test= --help
[[ output check ]] args: --debug --test= --help
[[ output check ]] args: --test=
[[ output check ]] args: --debug --test=
[[ output check ]] args: -t ""
[[ output check ]] args: --debug -t ""
[[ output check ]] args: --test ""
[[ output check ]] args: --debug --test ""
[[ output check ]] args: --test=false
[[ output check ]] args: --debug --test=false
[[ output check ]] args: -tfalse
[[ output check ]] args: --debug -tfalse
[[ output check ]] args: -t false
[[ output check ]] args: --debug -t false
[[ output check ]] args: 
[[ output check ]] args: --debug
[[ output check ]] args: a
[[ output check ]] args: --debug a
[[ output check ]] args: a b c
[[ output check ]] args: --debug a b c
[[ output check ]] args: a b c d
[[ output check ]] args: --debug a b c d
[[ output check ]] args: short
[[ output check ]] args: --debug short
[[ output check ]] args: shortcut
[[ output check ]] args: --debug shortcut
[[ output check ]] args: short --help
[[ output check ]] args: --debug short --help
[[ output check ]] args: eval "echo eval ; exit 4"
[[ output check ]] args: --debug eval "echo eval ; exit 4"
[[ output check ]] args: validate_out eval "echo eval ; exit 4"
[[ output check ]] args: --debug validate_out eval "echo eval ; exit 4"
[[ retval check ]] args: --test
[[ retval check ]] args: --not-existent
[[ retval check ]] args: short --not-existent
[[ grep for 'test-version' ]] args: --version
[[ grep for 'test-version' ]] args: --version --whatever
[[ grep for 'test-version' ]] args: --debug --version
FAIL test-option-parser.sh (exit status: 1)

    • Re: ne... Eric Blake
      • Re... Santiago Vila
        • ... Eric Blake
          • ... Karl Berry
            • ... Eric Blake
              • ... Santiago Vila
              • ... Eric Blake
              • ... Karl Berry
      • Re... Bruno Haible via Bug reports for the GNU m4 macro processor
      • Re... Simon Josefsson via Bug reports for the GNU m4 macro processor
  • Re: m4-1.4.... Bruno Haible via Bug reports for the GNU m4 macro processor
  • Re: m4-1.4.... Andreas F. Borchert
  • Re: new sna... Frederic Berat

Reply via email to