Subject: bug#73140: 'reference' test fails on several platforms

From: Bruno Haible <[email-masked]>
Date: Mon, 09 Sep 2024 12:12:16 +0200

The 'reference' test that was added last week fails on several platforms:
  - FreeBSD
  - NetBSD
  - OpenBSD
  - macOS 12, 13, 14
  - Solaris 11
  - Solaris 11 OmniOS

Find here the logs (from the respective test-suite.log files).

FreeBSD:

FAIL: reference
===============

od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
--- exp	2024-09-09 07:46:48.722620000 +0000
+++ out	2024-09-09 07:46:48.728549000 +0000
@@ -1,6 +1,6 @@
-: 1f 8b 08 00 00 00 00 00 00 03 03 00 00 00 00 00 00 00 00 00
-a: 1f 8b 08 00 00 00 00 00 00 03 4b 04 00 43 be b7 e8 01 00 00 00
-b: 1f 8b 08 00 00 00 00 00 00 03 4b 02 00 f9 ef be 71 01 00 00 00
-c: 1f 8b 08 00 00 00 00 00 00 03 4b 06 00 6f df b9 06 01 00 00 00
-yyy: 1f 8b 08 00 00 00 00 00 00 03 ab ac ac 04 00 ea 81 45 73 03 00 00 00
-zzzzzzzzzzz: 1f 8b 08 00 00 00 00 00 00 03 ab aa 82 03 00 55 97 5b a7 0b 00 00 00
+:
+a:
+b:
+c:
+yyy:
+zzzzzzzzzzz:
FAIL reference (exit status: 1)

NetBSD, OpenBSD:

FAIL: reference
===============

od: unknown option -- w
usage: od [-aBbcDdeFfHhIiLlOovXx] [-A base] [-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...]
od: unknown option -- w
usage: od [-aBbcDdeFfHhIiLlOovXx] [-A base] [-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...]
od: unknown option -- w
usage: od [-aBbcDdeFfHhIiLlOovXx] [-A base] [-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...]
od: unknown option -- w
usage: od [-aBbcDdeFfHhIiLlOovXx] [-A base] [-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...]
od: unknown option -- w
usage: od [-aBbcDdeFfHhIiLlOovXx] [-A base] [-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...]
od: unknown option -- w
usage: od [-aBbcDdeFfHhIiLlOovXx] [-A base] [-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...]
--- exp	2024-09-09 07:46:35.308282884 +0000
+++ out	2024-09-09 07:46:35.318275495 +0000
@@ -1,6 +1,6 @@
-: 1f 8b 08 00 00 00 00 00 00 03 03 00 00 00 00 00 00 00 00 00
-a: 1f 8b 08 00 00 00 00 00 00 03 4b 04 00 43 be b7 e8 01 00 00 00
-b: 1f 8b 08 00 00 00 00 00 00 03 4b 02 00 f9 ef be 71 01 00 00 00
-c: 1f 8b 08 00 00 00 00 00 00 03 4b 06 00 6f df b9 06 01 00 00 00
-yyy: 1f 8b 08 00 00 00 00 00 00 03 ab ac ac 04 00 ea 81 45 73 03 00 00 00
-zzzzzzzzzzz: 1f 8b 08 00 00 00 00 00 00 03 ab aa 82 03 00 55 97 5b a7 0b 00 00 00
+:
+a:
+b:
+c:
+yyy:
+zzzzzzzzzzz:
FAIL reference (exit status: 1)

Solaris 11:

FAIL: reference
===============

usage: od [-bcCdDfFoOsSvxX] [-] [file] [offset_string]
       od [-bcCdDfFoOsSvxX] [-t type_string]... [-A address_base] [-j skip] [-N count] [-] [file...]
usage: od [-bcCdDfFoOsSvxX] [-] [file] [offset_string]
       od [-bcCdDfFoOsSvxX] [-t type_string]... [-A address_base] [-j skip] [-N count] [-] [file...]
usage: od [-bcCdDfFoOsSvxX] [-] [file] [offset_string]
       od [-bcCdDfFoOsSvxX] [-t type_string]... [-A address_base] [-j skip] [-N count] [-] [file...]
usage: od [-bcCdDfFoOsSvxX] [-] [file] [offset_string]
       od [-bcCdDfFoOsSvxX] [-t type_string]... [-A address_base] [-j skip] [-N count] [-] [file...]
usage: od [-bcCdDfFoOsSvxX] [-] [file] [offset_string]
       od [-bcCdDfFoOsSvxX] [-t type_string]... [-A address_base] [-j skip] [-N count] [-] [file...]
usage: od [-bcCdDfFoOsSvxX] [-] [file] [offset_string]
       od [-bcCdDfFoOsSvxX] [-t type_string]... [-A address_base] [-j skip] [-N count] [-] [file...]
--- exp	2024-09-09 07:49:01.068477628 +0000
+++ out	2024-09-09 07:49:01.109802741 +0000
@@ -1,6 +1,6 @@
-: 1f 8b 08 00 00 00 00 00 00 03 03 00 00 00 00 00 00 00 00 00
-a: 1f 8b 08 00 00 00 00 00 00 03 4b 04 00 43 be b7 e8 01 00 00 00
-b: 1f 8b 08 00 00 00 00 00 00 03 4b 02 00 f9 ef be 71 01 00 00 00
-c: 1f 8b 08 00 00 00 00 00 00 03 4b 06 00 6f df b9 06 01 00 00 00
-yyy: 1f 8b 08 00 00 00 00 00 00 03 ab ac ac 04 00 ea 81 45 73 03 00 00 00
-zzzzzzzzzzz: 1f 8b 08 00 00 00 00 00 00 03 ab aa 82 03 00 55 97 5b a7 0b 00 00 00
+:
+a:
+b:
+c:
+yyy:
+zzzzzzzzzzz:
FAIL reference (exit status: 1)

macOS:

FAIL: reference
===============

++ initial_cwd_=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests gt-reference.XXXX
+++ case $# in
+++ destdir_=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests
+++ template_=gt-reference.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/
+++ case $template_ in
++++ unset TMPDIR
+++ d=
++++ echo gt-reference.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-reference.
++++ echo gt-reference.XXXX
++++ wc -c
+++ template_length_='      18'
++++ echo gt-reference.
++++ wc -c
+++ nx_='      14'
++++ expr 18 - 14
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=9aWA
+++ candidate_dir_=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
++++ mkdir -m 0700 /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
+++ err_=
+++ echo /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
+++ return
++ test_dir_=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
++ cd /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
++ case $srcdir in
++ srcdir=../../../tests
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS=' 	
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS=' 	
'
++ IFS=:
++ new_PATH=
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/lib/ruby/gems/3.0.0/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/opt/[email-masked]/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/opt/pipx_bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/.cargo/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/opt/curl/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/sbin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/bin/.
++ continue
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/.yarn/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/Library/Android/sdk/tools/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/Library/Android/sdk/platform-tools/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Library/Frameworks/Python.framework/Versions/Current/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Library/Frameworks/Mono.framework/Versions/Current/Commands/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/.dotnet/tools/.
++ continue
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /Users/runner/.ghcup/bin/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.ghcup/bin
++ IFS=' 	
'
++ PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.ghcup/bin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ..
+ test 1 '!=' 0
+ path_dir_=..
+ case $path_dir_ in
+ abs_path_dir_=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/..
+ case $abs_path_dir_ in
+ PATH=/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/..:/Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/[email-masked]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.ghcup/bin
+ create_exe_shims_ /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/..
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ cat
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s ''
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
+ echo :
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s a
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
+ echo a:
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s b
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
+ echo b:
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s c
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
+ echo c:
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s yyy
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
+ echo yyy:
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s zzzzzzzzzzz
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
          [[+]offset[.][Bb]] [file ...]
+ echo zzzzzzzzzzz:
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ LC_ALL=C
+ diff -u exp out
--- exp	2024-09-09 07:44:54.000000000 +0000
+++ out	2024-09-09 07:44:55.000000000 +0000
@@ -1,6 +1,6 @@
-: 1f 8b 08 00 00 00 00 00 00 03 03 00 00 00 00 00 00 00 00 00
-a: 1f 8b 08 00 00 00 00 00 00 03 4b 04 00 43 be b7 e8 01 00 00 00
-b: 1f 8b 08 00 00 00 00 00 00 03 4b 02 00 f9 ef be 71 01 00 00 00
-c: 1f 8b 08 00 00 00 00 00 00 03 4b 06 00 6f df b9 06 01 00 00 00
-yyy: 1f 8b 08 00 00 00 00 00 00 03 ab ac ac 04 00 ea 81 45 73 03 00 00 00
-zzzzzzzzzzz: 1f 8b 08 00 00 00 00 00 00 03 ab aa 82 03 00 55 97 5b a7 0b 00 00 00
+:
+a:
+b:
+c:
+yyy:
+zzzzzzzzzzz:
+ fail=1
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s ''
++ gzip
++ gzip -d
+ in=
+ test '' = ''
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s a
++ gzip
++ gzip -d
+ in=a
+ test a = a
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s b
++ gzip
++ gzip -d
+ in=b
+ test b = b
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s c
++ gzip
++ gzip -d
+ in=c
+ test c = c
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s yyy
++ gzip
++ gzip -d
+ in=yyy
+ test yyy = yyy
+ for i in ''\'''\''' a b c yyy zzzzzzzzzzz
++ printf %s zzzzzzzzzzz
++ gzip
++ gzip -d
+ in=zzzzzzzzzzz
+ test zzzzzzzzzzz = zzzzzzzzzzz
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests
+ chmod -R u+rwx /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
+ rm -rf /Users/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.9aWA
+ exit 1
FAIL reference (exit status: 1)

Solaris 11 OmniOS:

FAIL: reference
===============

++ initial_cwd_=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests gt-reference.XXXX
+++ case $# in
+++ destdir_=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests
+++ template_=gt-reference.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/
+++ case $template_ in
++++ unset TMPDIR
+++ d=
++++ echo gt-reference.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-reference.
++++ echo gt-reference.XXXX
++++ wc -c
+++ template_length_='      18'
++++ echo gt-reference.
++++ wc -c
+++ nx_='      14'
++++ expr 18 - 14
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=92Zm
+++ candidate_dir_=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
++++ mkdir -m 0700 /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
+++ err_=
+++ echo /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
+++ return
++ test_dir_=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
++ cd /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
++ case $srcdir in
++ srcdir=../../../tests
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS=' 	
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS=' 	
'
++ IFS=:
++ new_PATH=
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/.
++ new_PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/sbin:/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/ooce/sbin/.
++ continue
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/sbin:/sbin:/usr/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/ooce/bin/.
++ new_PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/sbin:/sbin:/usr/bin:/opt/ooce/bin
++ IFS=' 	
'
++ PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/sbin:/sbin:/usr/bin:/opt/ooce/bin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ..
+ test 1 '!=' 0
+ path_dir_=..
+ case $path_dir_ in
+ abs_path_dir_=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/..
+ case $abs_path_dir_ in
+ PATH=/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/..:/home/runner/work/ci-check/ci-check/gzip-2024-09-09/build:/usr/sbin:/sbin:/usr/bin:/opt/ooce/bin
+ create_exe_shims_ /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/..
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ cat
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s ''
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-bcCdDfFoOsSvxX] [-t types ]... [-A base] [-j skip] [-N count] [file]...
+ echo :
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s a
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-bcCdDfFoOsSvxX] [-t types ]... [-A base] [-j skip] [-N count] [file]...
+ echo a:
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s b
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-bcCdDfFoOsSvxX] [-t types ]... [-A base] [-j skip] [-N count] [file]...
+ echo b:
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s c
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-bcCdDfFoOsSvxX] [-t types ]... [-A base] [-j skip] [-N count] [file]...
+ echo c:
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s yyy
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-bcCdDfFoOsSvxX] [-t types ]... [-A base] [-j skip] [-N count] [file]...
+ echo yyy:
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s zzzzzzzzzzz
++ gzip
++ od -w99 -An -tx1
od: illegal option -- w
usage: od [-bcCdDfFoOsSvxX] [-t types ]... [-A base] [-j skip] [-N count] [file]...
+ echo zzzzzzzzzzz:
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ LC_ALL=C
+ diff -u exp out
+ diff_status_=1
+ test 1 -eq 0
+ cat diff.out
--- exp	Mon Sep  9 07:48:17 2024
+++ out	Mon Sep  9 07:48:17 2024
@@ -1,6 +1,6 @@
-: 1f 8b 08 00 00 00 00 00 00 03 03 00 00 00 00 00 00 00 00 00
-a: 1f 8b 08 00 00 00 00 00 00 03 4b 04 00 43 be b7 e8 01 00 00 00
-b: 1f 8b 08 00 00 00 00 00 00 03 4b 02 00 f9 ef be 71 01 00 00 00
-c: 1f 8b 08 00 00 00 00 00 00 03 4b 06 00 6f df b9 06 01 00 00 00
-yyy: 1f 8b 08 00 00 00 00 00 00 03 ab ac ac 04 00 ea 81 45 73 03 00 00 00
-zzzzzzzzzzz: 1f 8b 08 00 00 00 00 00 00 03 ab aa 82 03 00 55 97 5b a7 0b 00 00 00
+:
+a:
+b:
+c:
+yyy:
+zzzzzzzzzzz:
+ rm -f diff.out
+ return 1
+ fail=1
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s ''
++ gzip
++ gzip -d
+ in=
+ test '' = ''
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s a
++ gzip
++ gzip -d
+ in=a
+ test a = a
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s b
++ gzip
++ gzip -d
+ in=b
+ test b = b
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s c
++ gzip
++ gzip -d
+ in=c
+ test c = c
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s yyy
++ gzip
++ gzip -d
+ in=yyy
+ test yyy = yyy
+ for i in '' a b c yyy zzzzzzzzzzz
++ printf %s zzzzzzzzzzz
++ gzip
++ gzip -d
+ in=zzzzzzzzzzz
+ test zzzzzzzzzzz = zzzzzzzzzzz
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests
+ chmod -R u+rwx /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
+ rm -rf /home/runner/work/ci-check/ci-check/gzip-2024-09-09/build/tests/gt-reference.92Zm
+ exit 1
FAIL reference (exit status: 1)

Bruno