From unknown Fri Jun 20 18:19:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62542 <62542@debbugs.gnu.org> To: bug#62542 <62542@debbugs.gnu.org> Subject: Status: coreutils-9.2: Failing tests on =?UTF-8?Q?Ad=C3=A9lie?= Linux Reply-To: bug#62542 <62542@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:19:31 +0000 retitle 62542 coreutils-9.2: Failing tests on Ad=C3=A9lie Linux reassign 62542 coreutils submitter 62542 "A. Wilcox" severity 62542 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 07:47:00 2023 Received: (at submit) by debbugs.gnu.org; 30 Mar 2023 11:47:00 +0000 Received: from localhost ([127.0.0.1]:55954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phqk7-0001aR-VG for submit@debbugs.gnu.org; Thu, 30 Mar 2023 07:47:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:45772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnXj-0007xo-6z for submit@debbugs.gnu.org; Thu, 30 Mar 2023 04:21:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phnXf-0002Vm-Am for bug-coreutils@gnu.org; Thu, 30 Mar 2023 04:21:55 -0400 Received: from mail.wilcox-tech.com ([45.32.83.9]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phnXc-00047K-5R for bug-coreutils@gnu.org; Thu, 30 Mar 2023 04:21:54 -0400 Received: (qmail 12809 invoked from network); 30 Mar 2023 08:21:05 -0000 Received: from ip98-188-99-66.tu.ok.cox.net (HELO smtpclient.apple) (AWilcox@Wilcox-Tech.com@98.188.99.66) by mail.wilcox-tech.com with ESMTPA; 30 Mar 2023 08:21:05 -0000 From: "A. Wilcox" Content-Type: multipart/mixed; boundary="Apple-Mail=_E04DE249-BB54-48E2-A140-FF0C026DCE53" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: =?utf-8?Q?coreutils-9=2E2=3A_Failing_tests_on_Ad=C3=A9lie_Linux?= Message-Id: <1F913CE3-E29B-4033-A98C-9B008909DDFF@Wilcox-Tech.com> Date: Thu, 30 Mar 2023 03:20:48 -0500 To: bug-coreutils@gnu.org X-Mailer: Apple Mail (2.3731.400.51.1.1) Received-SPF: pass client-ip=45.32.83.9; envelope-from=AWilcox@Wilcox-Tech.com; helo=mail.wilcox-tech.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 30 Mar 2023 07:46:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --Apple-Mail=_E04DE249-BB54-48E2-A140-FF0C026DCE53 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, While updating coreutils to 9.2 on Ad=C3=A9lie Linux, I=E2=80=99ve run = into a few interesting corner-cases in the test suite. As a note, our distribution is using musl as the libc. 1. `tests/misc/csplit-heap.sh` fails when /bin/sh is Bash I actually saw this on 9.1 as well, but I only saw it on one system and considered it a fluke since our auto builder infrastructure didn=E2=80=99t= see the issue. Seeing it again in 9.2 made me look deeper, and it turns out that when /bin/sh is a symlink to /bin/bash, the test fails with: ./tests/misc/csplit-heap.sh: xmalloc: cannot allocate 16085 bytes When /bin/sh is a symlink to /bin/dash, the test no longer fails. However: 2. `tests/misc/tee.sh` fails when /bin/sh is Dash and `make` is run under Zsh When running the test suite from my default Zsh environment, and when /bin/sh is a symlink to /bin/dash, I receive an error when running the tee test. If: - /bin/sh is a symlink to /bin/bash; OR if - /bin/sh is a symlink to /bin/dash, and - make is launched from a Bash or Dash shell, *not* a Zsh shell, Then the test passes. Both test runs with the respective failures have generated useful log files, which are attached. I don=E2=80=99t know if this is actually a = bug in the coreutils test suite, or if the bugs perhaps lie in the shells. Best, -A. -- A. Wilcox (they/them) SW Engineering: C/C++, DevOps, POSIX Wilcox Technologies Inc. --Apple-Mail=_E04DE249-BB54-48E2-A140-FF0C026DCE53 Content-Disposition: attachment; filename=coreutils-9.2-test-failure-csplit-heap.log Content-Type: application/octet-stream; x-unix-mode=0644; name="coreutils-9.2-test-failure-csplit-heap.log" Content-Transfer-Encoding: quoted-printable FAIL:=20tests/misc/csplit-heap=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0A++=20= initial_cwd_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/c= oreutils-9.2=0A+++=20testdir_prefix_=0A+++=20printf=20gt=0A++=20pfx_=3Dgt=0A= +++=20mktempd_=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2=20= gt-csplit-heap.sh.XXXX=0A+++=20case=20$#=20in=0A+++=20= destdir_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2=0A+++=20template_=3Dgt-csplit-heap.sh.XXXX=0A+++=20MAX_TRIES_=3D4= =0A+++=20case=20$destdir_=20in=0A+++=20= destdir_slash_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src= /coreutils-9.2/=0A+++=20case=20$template_=20in=0A++++=20unset=20TMPDIR=0A= +++=20= d=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.= 2/gt-csplit-heap.sh.oAdk=0A+++=20case=20$d=20in=0A+++=20:=0A+++=20test=20= -d=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk=0A++++=20ls=20-dgo=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk=0A+++=20perms=3D'drwx------=202=204096=20Mar=2030=20= 02:43=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk'=0A+++=20case=20$perms=20in=0A+++=20:=0A+++=20echo=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk=0A+++=20return=0A++=20= test_dir_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/core= utils-9.2/gt-csplit-heap.sh.oAdk=0A++=20cd=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk=0A++=20case=20$srcdir=20in=0A++=20srcdir=3D../.=0A= ++=20builddir=3D..=0A++=20export=20srcdir=20builddir=0A++=20= gl_init_sh_nl_=3D'=0A'=0A++=20IFS=3D'=20=09=0A'=0A++=20for=20sig_=20in=20= 1=202=203=2013=2015=0A+++=20expr=201=20+=20128=0A++=20eval=20'trap=20= '\''Exit=20129'\''=201'=0A+++=20trap=20'Exit=20129'=201=0A++=20for=20= sig_=20in=201=202=203=2013=2015=0A+++=20expr=202=20+=20128=0A++=20eval=20= 'trap=20'\''Exit=20130'\''=202'=0A+++=20trap=20'Exit=20130'=202=0A++=20= for=20sig_=20in=201=202=203=2013=2015=0A+++=20expr=203=20+=20128=0A++=20= eval=20'trap=20'\''Exit=20131'\''=203'=0A+++=20trap=20'Exit=20131'=203=0A= ++=20for=20sig_=20in=201=202=203=2013=2015=0A+++=20expr=2013=20+=20128=0A= ++=20eval=20'trap=20'\''Exit=20141'\''=2013'=0A+++=20trap=20'Exit=20141'=20= 13=0A++=20for=20sig_=20in=201=202=203=2013=2015=0A+++=20expr=2015=20+=20= 128=0A++=20eval=20'trap=20'\''Exit=20143'\''=2015'=0A+++=20trap=20'Exit=20= 143'=2015=0A++=20saved_IFS=3D'=20=09=0A'=0A++=20IFS=3D:=0A++=20new_PATH=3D= =0A++=20sep_=3D=0A++=20for=20dir=20in=20$PATH=0A++=20case=20"$dir"=20in=0A= ++=20test=20-d=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/sr= c/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src=0A++=20sep_=3D:=0A++=20for=20dir=20in=20$PATH=0A++=20case=20= "$dir"=20in=0A++=20test=20-d=20/usr/local/bin/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin=0A++=20sep_=3D:=0A++=20for=20dir=20in=20= $PATH=0A++=20case=20"$dir"=20in=0A++=20test=20-d=20/usr/bin/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin=0A++=20sep_=3D:=0A++=20for=20dir=20= in=20$PATH=0A++=20case=20"$dir"=20in=0A++=20test=20-d=20/bin/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin=0A++=20sep_=3D:=0A++=20for=20= dir=20in=20$PATH=0A++=20case=20"$dir"=20in=0A++=20test=20-d=20= /usr/local/games/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games=0A++=20sep_=3D:= =0A++=20for=20dir=20in=20$PATH=0A++=20case=20"$dir"=20in=0A++=20test=20= -d=20/usr/games/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games=0A= ++=20sep_=3D:=0A++=20for=20dir=20in=20$PATH=0A++=20case=20"$dir"=20in=0A= ++=20test=20-d=20/sbin/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbi= n=0A++=20sep_=3D:=0A++=20for=20dir=20in=20$PATH=0A++=20case=20"$dir"=20= in=0A++=20test=20-d=20/usr/sbin/.=0A++=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbi= n:/usr/sbin=0A++=20sep_=3D:=0A++=20IFS=3D'=20=09=0A'=0A++=20= PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils= -9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/u= sr/sbin=0A++=20export=20PATH=0A++=20trap=20remove_tmp_=20EXIT=0A+=20= path_prepend_=20./src=0A+=20test=201=20'!=3D'=200=0A+=20path_dir_=3D./src=0A= +=20case=20$path_dir_=20in=0A+=20= abs_path_dir_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/= coreutils-9.2/./src=0A+=20case=20$abs_path_dir_=20in=0A+=20= PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils= -9.2/./src:/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbi= n:/usr/sbin=0A+=20create_exe_shims_=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/./= src=0A+=20case=20$EXEEXT=20in=0A+=20return=200=0A+=20shift=0A+=20test=20= 0=20'!=3D'=200=0A+=20export=20PATH=0A+=20print_ver_=20csplit=0A+=20= require_built_=20csplit=0A+=20skip_=3Dno=0A+=20for=20i=20in=20"$@"=0A+=20= case=20"=20$built_programs=20"=20in=0A+=20test=20no=20=3D=20yes=0A+=20= test=20yes=20=3D=20yes=0A+=20local=20i=0A+=20for=20i=20in=20$*=0A+=20env=20= csplit=20--version=0Acsplit=20(GNU=20coreutils)=209.2=0APackaged=20by=20= Ad=C3=A9lie=0ACopyright=20(C)=202023=20Free=20Software=20Foundation,=20= Inc.=0ALicense=20GPLv3+:=20GNU=20GPL=20version=203=20or=20later=20= .=0AThis=20is=20free=20software:=20= you=20are=20free=20to=20change=20and=20redistribute=20it.=0AThere=20is=20= NO=20WARRANTY,=20to=20the=20extent=20permitted=20by=20law.=0A=0AWritten=20= by=20Stuart=20Kemp=20and=20David=20MacKenzie.=0A+=20echo=20y=0A+=20echo=20= n=0A++=20get_min_ulimit_v_=20csplit=20-z=20f=20%n%1=0A++=20local=20v=0A= ++=20local=20page_size=0A+++=20getconf=20PAGESIZE=0A++=20page_size=3D4096=0A= ++=20page_size=3D4=0A+++=20seq=205000=205000=2050000=0A++=20for=20v=20in=20= $(=20seq=205000=205000=2050000=20)=0A++=20ulimit_supported_=205000=20= csplit=20-z=20f=20%n%1=0A++=20local=20v=0A++=20v=3D5000=0A++=20shift=0A= ++=20local=20prev_v=0A++=20prev_v=3D5000=0A+++=20seq=204000=20-1000=20= 1000=0A++=20for=20v=20in=20$(=20seq=20$(($prev_v-1000))=20-1000=201000=20= )=0A++=20ulimit_supported_=204000=20csplit=20-z=20f=20%n%1=0A++=20local=20= v=0A++=20v=3D4000=0A++=20shift=0A++=20prev_v=3D4000=0A++=20for=20v=20in=20= $(=20seq=20$(($prev_v-1000))=20-1000=201000=20)=0A++=20ulimit_supported_=20= 3000=20csplit=20-z=20f=20%n%1=0A++=20local=20v=0A++=20v=3D3000=0A++=20= shift=0A++=20prev_v=3D3000=0A++=20for=20v=20in=20$(=20seq=20= $(($prev_v-1000))=20-1000=201000=20)=0A++=20ulimit_supported_=202000=20= csplit=20-z=20f=20%n%1=0A++=20local=20v=0A++=20v=3D2000=0A++=20shift=0A= ++=20prev_v=3D2000=0A++=20for=20v=20in=20$(=20seq=20$(($prev_v-1000))=20= -1000=201000=20)=0A++=20ulimit_supported_=201000=20csplit=20-z=20f=20= %n%1=0A++=20local=20v=0A++=20v=3D1000=0A++=20shift=0A++=20ret_v=3D2004=0A= ++=20echo=202004=0A++=20return=200=0A+=20vm=3D2004=0A+=20ulimit=20-v=20= 3004=0A+=20csplit=20-z=20-=20%n%1=0A+=20yes=0A= ./tests/misc/csplit-heap.sh:=20xmalloc:=20cannot=20allocate=20512=20= bytes=0A./tests/misc/csplit-heap.sh:=20xmalloc:=20cannot=20allocate=20= 512=20bytes=0A+=20head=20-n2500000=0A./tests/misc/csplit-heap.sh:=20= xmalloc:=20cannot=20allocate=20512=20bytes=0A+=20echo=20n=0A+=20fail=3D1=0A= +=20Exit=201=0A+=20set=20+e=0A+=20exit=201=0A+=20exit=201=0A+=20= remove_tmp_=0A+=20__st=3D1=0A+=20cleanup_=0A+=20:=0A+=20test=20''=20=3D=20= yes=0A+=20cd=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2=0A= +=20chmod=20-R=20u+rwx=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk=0A+=20rm=20-rf=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -csplit-heap.sh.oAdk=0A+=20exit=201=0AFAIL=20tests/misc/csplit-heap.sh=20= (exit=20status:=201)=0A= --Apple-Mail=_E04DE249-BB54-48E2-A140-FF0C026DCE53 Content-Disposition: attachment; filename=coreutils-9.2-test-failure-tee.log Content-Type: application/octet-stream; x-unix-mode=0644; name="coreutils-9.2-test-failure-tee.log" Content-Transfer-Encoding: quoted-printable FAIL:=20tests/misc/tee=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0A=0A+=20= initial_cwd_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/c= oreutils-9.2=0A+=20testdir_prefix_=0A+=20printf=20gt=0A+=20pfx_=3Dgt=0A+=20= mktempd_=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2=20= gt-tee.sh.XXXX=0A+=20= destdir_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2=0A+=20template_=3Dgt-tee.sh.XXXX=0A+=20MAX_TRIES_=3D4=0A+=20= destdir_slash_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src= /coreutils-9.2/=0A+=20unset=20TMPDIR=0A+=20= d=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.= 2/gt-tee.sh.fS3K=0A+=20:=0A+=20test=20-d=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20ls=20-dgo=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20perms=3Ddrwx------=202=204096=20Mar=2030=2003:04=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20:=0A+=20echo=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20return=0A+=20= test_dir_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/core= utils-9.2/gt-tee.sh.fS3K=0A+=20cd=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20srcdir=3D../.=0A+=20builddir=3D..=0A+=20export=20= srcdir=20builddir=0A+=20gl_init_sh_nl_=3D=0A=0A+=20IFS=3D=20=09=0A=0A+=20= expr=201=20+=20128=0A+=20eval=20trap=20'Exit=20129'=201=0A+=20trap=20= Exit=20129=201=0A+=20expr=202=20+=20128=0A+=20eval=20trap=20'Exit=20130'=20= 2=0A+=20trap=20Exit=20130=202=0A+=20expr=203=20+=20128=0A+=20eval=20trap=20= 'Exit=20131'=203=0A+=20trap=20Exit=20131=203=0A+=20expr=2013=20+=20128=0A= +=20eval=20trap=20'Exit=20141'=2013=0A+=20trap=20Exit=20141=2013=0A+=20= expr=2015=20+=20128=0A+=20eval=20trap=20'Exit=20143'=2015=0A+=20trap=20= Exit=20143=2015=0A+=20saved_IFS=3D=20=09=0A=0A+=20IFS=3D:=0A+=20= new_PATH=3D=0A+=20sep_=3D=0A+=20test=20-d=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/sr= c/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src=0A+=20sep_=3D:=0A+=20test=20-d=20/usr/local/bin/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin=0A+=20sep_=3D:=0A+=20test=20-d=20/usr/bin/.=0A= +=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin=0A+=20sep_=3D:=0A+=20test=20-d=20= /bin/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin=0A+=20sep_=3D:=0A+=20test=20-d=20= /usr/local/games/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games=0A+=20sep_=3D:=0A= +=20test=20-d=20/usr/games/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games=0A= +=20sep_=3D:=0A+=20test=20-d=20/sbin/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbi= n=0A+=20sep_=3D:=0A+=20test=20-d=20/usr/sbin/.=0A+=20= new_PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbi= n:/usr/sbin=0A+=20sep_=3D:=0A+=20IFS=3D=20=09=0A=0A+=20= PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils= -9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/u= sr/sbin=0A+=20export=20PATH=0A+=20trap=20remove_tmp_=20EXIT=0A+=20= path_prepend_=20./src=0A+=20test=201=20!=3D=200=0A+=20path_dir_=3D./src=0A= +=20= abs_path_dir_=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/= coreutils-9.2/./src=0A+=20= PATH=3D/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils= -9.2/./src:/home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreu= tils-9.2/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbi= n:/usr/sbin=0A+=20create_exe_shims_=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/./= src=0A+=20return=200=0A+=20shift=0A+=20test=200=20!=3D=200=0A+=20export=20= PATH=0A+=20print_ver_=20tee=0A+=20require_built_=20tee=0A+=20skip_=3Dno=0A= +=20test=20no=20=3D=20yes=0A+=20test=20yes=20=3D=20yes=0A+=20local=20i=0A= +=20env=20tee=20--version=0Atee=20(GNU=20coreutils)=209.2=0APackaged=20= by=20Ad=C3=A9lie=0ACopyright=20(C)=202023=20Free=20Software=20= Foundation,=20Inc.=0ALicense=20GPLv3+:=20GNU=20GPL=20version=203=20or=20= later=20.=0AThis=20is=20free=20= software:=20you=20are=20free=20to=20change=20and=20redistribute=20it.=0A= There=20is=20NO=20WARRANTY,=20to=20the=20extent=20permitted=20by=20law.=0A= =0AWritten=20by=20Mike=20Parker,=20Richard=20M.=20Stallman,=20and=20= David=20MacKenzie.=0A+=20echo=20line=0A+=20seq=200=0A+=20files=3D=0A+=20= rm=20-f=0A+=20tee=0A+=20compare=20sample=20out=0A+=20compare_dev_null_=20= sample=20out=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20= x/dev/null=0A+=20test=20xout=20=3D=20x/dev/null=0A+=20return=202=0A+=20= compare_=20sample=20out=0A+=20diff=20-u=20sample=20out=0A+=20seq=201=0A+=20= files=3D1=0A+=20rm=20-f=201=0A+=20tee=201=0A+=20compare=20sample=20out=0A= +=20compare_dev_null_=20sample=20out=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20xout=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=20out=0A+=20diff=20-u=20sample=20out=0A= +=20compare=20sample=201=0A+=20compare_dev_null_=20sample=201=0A+=20test=20= 2=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x1=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=201=0A+=20diff=20-u=20= sample=201=0A+=20seq=202=0A+=20files=3D1=0A2=0A+=20rm=20-f=201=202=0A+=20= tee=201=202=0A+=20compare=20sample=20out=0A+=20compare_dev_null_=20= sample=20out=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20= x/dev/null=0A+=20test=20xout=20=3D=20x/dev/null=0A+=20return=202=0A+=20= compare_=20sample=20out=0A+=20diff=20-u=20sample=20out=0A+=20compare=20= sample=201=0A+=20compare_dev_null_=20sample=201=0A+=20test=202=20=3D=202=0A= +=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x1=20=3D=20x/dev/null=0A= +=20return=202=0A+=20compare_=20sample=201=0A+=20diff=20-u=20sample=201=0A= +=20compare=20sample=202=0A+=20compare_dev_null_=20sample=202=0A+=20test=20= 2=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x2=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=202=0A+=20diff=20-u=20= sample=202=0A+=20seq=2012=0A+=20files=3D1=0A2=0A3=0A4=0A5=0A6=0A7=0A8=0A= 9=0A10=0A11=0A12=0A+=20rm=20-f=201=202=203=204=205=206=207=208=209=2010=20= 11=2012=0A+=20tee=201=202=203=204=205=206=207=208=209=2010=2011=2012=0A+=20= compare=20sample=20out=0A+=20compare_dev_null_=20sample=20out=0A+=20test=20= 2=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20xout=20= =3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20out=0A+=20= diff=20-u=20sample=20out=0A+=20compare=20sample=201=0A+=20= compare_dev_null_=20sample=201=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x1=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=201=0A+=20diff=20-u=20sample=201=0A+=20= compare=20sample=202=0A+=20compare_dev_null_=20sample=202=0A+=20test=202=20= =3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x2=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=202=0A+=20diff=20-u=20= sample=202=0A+=20compare=20sample=203=0A+=20compare_dev_null_=20sample=20= 3=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20= test=20x3=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20= 3=0A+=20diff=20-u=20sample=203=0A+=20compare=20sample=204=0A+=20= compare_dev_null_=20sample=204=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x4=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=204=0A+=20diff=20-u=20sample=204=0A+=20= compare=20sample=205=0A+=20compare_dev_null_=20sample=205=0A+=20test=202=20= =3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x5=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=205=0A+=20diff=20-u=20= sample=205=0A+=20compare=20sample=206=0A+=20compare_dev_null_=20sample=20= 6=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20= test=20x6=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20= 6=0A+=20diff=20-u=20sample=206=0A+=20compare=20sample=207=0A+=20= compare_dev_null_=20sample=207=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x7=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=207=0A+=20diff=20-u=20sample=207=0A+=20= compare=20sample=208=0A+=20compare_dev_null_=20sample=208=0A+=20test=202=20= =3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x8=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=208=0A+=20diff=20-u=20= sample=208=0A+=20compare=20sample=209=0A+=20compare_dev_null_=20sample=20= 9=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20= test=20x9=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20= 9=0A+=20diff=20-u=20sample=209=0A+=20compare=20sample=2010=0A+=20= compare_dev_null_=20sample=2010=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x10=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=2010=0A+=20diff=20-u=20sample=2010=0A= +=20compare=20sample=2011=0A+=20compare_dev_null_=20sample=2011=0A+=20= test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20= x11=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=2011=0A+=20= diff=20-u=20sample=2011=0A+=20compare=20sample=2012=0A+=20= compare_dev_null_=20sample=2012=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x12=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=2012=0A+=20diff=20-u=20sample=2012=0A= +=20seq=2013=0A+=20files=3D1=0A2=0A3=0A4=0A5=0A6=0A7=0A8=0A9=0A10=0A11=0A= 12=0A13=0A+=20rm=20-f=201=202=203=204=205=206=207=208=209=2010=2011=2012=20= 13=0A+=20tee=201=202=203=204=205=206=207=208=209=2010=2011=2012=2013=0A+=20= compare=20sample=20out=0A+=20compare_dev_null_=20sample=20out=0A+=20test=20= 2=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20xout=20= =3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20out=0A+=20= diff=20-u=20sample=20out=0A+=20compare=20sample=201=0A+=20= compare_dev_null_=20sample=201=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x1=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=201=0A+=20diff=20-u=20sample=201=0A+=20= compare=20sample=202=0A+=20compare_dev_null_=20sample=202=0A+=20test=202=20= =3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x2=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=202=0A+=20diff=20-u=20= sample=202=0A+=20compare=20sample=203=0A+=20compare_dev_null_=20sample=20= 3=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20= test=20x3=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20= 3=0A+=20diff=20-u=20sample=203=0A+=20compare=20sample=204=0A+=20= compare_dev_null_=20sample=204=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x4=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=204=0A+=20diff=20-u=20sample=204=0A+=20= compare=20sample=205=0A+=20compare_dev_null_=20sample=205=0A+=20test=202=20= =3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x5=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=205=0A+=20diff=20-u=20= sample=205=0A+=20compare=20sample=206=0A+=20compare_dev_null_=20sample=20= 6=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20= test=20x6=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20= 6=0A+=20diff=20-u=20sample=206=0A+=20compare=20sample=207=0A+=20= compare_dev_null_=20sample=207=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x7=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=207=0A+=20diff=20-u=20sample=207=0A+=20= compare=20sample=208=0A+=20compare_dev_null_=20sample=208=0A+=20test=202=20= =3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20x8=20=3D=20= x/dev/null=0A+=20return=202=0A+=20compare_=20sample=208=0A+=20diff=20-u=20= sample=208=0A+=20compare=20sample=209=0A+=20compare_dev_null_=20sample=20= 9=0A+=20test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20= test=20x9=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20= 9=0A+=20diff=20-u=20sample=209=0A+=20compare=20sample=2010=0A+=20= compare_dev_null_=20sample=2010=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x10=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=2010=0A+=20diff=20-u=20sample=2010=0A= +=20compare=20sample=2011=0A+=20compare_dev_null_=20sample=2011=0A+=20= test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20= x11=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=2011=0A+=20= diff=20-u=20sample=2011=0A+=20compare=20sample=2012=0A+=20= compare_dev_null_=20sample=2012=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x12=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=2012=0A+=20diff=20-u=20sample=2012=0A= +=20compare=20sample=2013=0A+=20compare_dev_null_=20sample=2013=0A+=20= test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20= x13=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=2013=0A+=20= diff=20-u=20sample=2013=0A+=20tee=20-=0A+=20compare=20sample=20./-=0A+=20= compare_dev_null_=20sample=20./-=0A+=20test=202=20=3D=202=0A+=20test=20= xsample=20=3D=20x/dev/null=0A+=20test=20x./-=20=3D=20x/dev/null=0A+=20= return=202=0A+=20compare_=20sample=20./-=0A+=20diff=20-u=20sample=20./-=0A= +=20compare=20sample=20out=0A+=20compare_dev_null_=20sample=20out=0A+=20= test=202=20=3D=202=0A+=20test=20xsample=20=3D=20x/dev/null=0A+=20test=20= xout=20=3D=20x/dev/null=0A+=20return=202=0A+=20compare_=20sample=20out=0A= +=20diff=20-u=20sample=20out=0A+=20compare=20/dev/null=20err=0A+=20= compare_dev_null_=20/dev/null=20err=0A+=20test=202=20=3D=202=0A+=20test=20= x/dev/null=20=3D=20x/dev/null=0A+=20test=20-s=20err=0A+=20return=200=0A+=20= return=200=0A+=20test=20-w=20/dev/full=0A+=20test=20-c=20/dev/full=0A+=20= yes=0A+=20returns_=201=20timeout=2010=20tee=20/dev/full=0A+=20wc=20-l=0A= +=20test=202=20=3D=202=0A+=20seq=2010000=0A+=20returns_=201=20tee=20= /dev/full=20out2=0A+=20cmp=20multi_read=20out1=0A+=20cmp=20multi_read=20= out2=0A+=20wc=20-l=0A+=20test=201=20=3D=201=0A+=20returns_=201=20tee=20= out1=20out2=0A+=20cmp=20multi_read=20out1=0A+=20cmp=20multi_read=20out2=0A= +=20wc=20-l=0A+=20test=201=20=3D=201=0A+=20retry_delay_=20tee_exited=20= .1=207=0A+=20local=20test_func=3Dtee_exited=0A+=20+=20local:=0A+=20= timeout=2010=20tee=20-p=0A=20init_delay=3D.1=0A+=20local=20max_n_tries=3D7= =0A+=20shift=203=0A+=20local=20attempt=3D1=0A+=20local=20num_sleeps=3D1=0A= +=20local=20time_fail=0A+=20test=201=20-le=207=0A+=20mawk=20-v=20n=3D1=20= -v=20s=3D.1=20BEGIN=20{=20print=20s=20*=20n=20}=0A+=20+=20localtouch=20= delay=3D0.1=20tee.exited=0A=0A+=20tee_exited=200.1=0A+=20sleep=200.1=0A+=20= test=20-f=20tee.exited=0A+=20time_fail=3D0=0A+=20break=0A+=20test=200=20= =3D=200=0A+=20wc=20-l=0A+=20test=200=20=3D=200=0A+=20test=20-f=20= tee.exited=0A+=20touch=20file.ro=0A+=20chmod=20a-w=20file.ro=0A+=20= returns_=201=20tee=20-p=20file.ro=0Atee:=20file.ro:=20Permission=20= denied=0A+=20mkfifo_or_skip_=20fifo=0A+=20test=201=20=3D=201=0A+=20= mkfifo=20fifo=0A+=20pid=3D48407=0A+=20dd=20count=3D20=20bs=3D100K=20= if=3D/dev/zero=20status=3Dnone=0A+=20read_fifo_delayed=0A+=20+=20sleepdd=20= .1=20count=3D0=0A=20oflag=3Dnonblock=20status=3Dnone=0A+=20tee=0A+=20= timeout=2010=20dd=20of=3D/dev/null=20status=3Dnone=0A+=20test=20-f=20= tee.fail=0A+=20read_fifo=0A./tests/misc/tee.sh:=20107:=20cannot=20create=20= fifo:=20Interrupted=20system=20call=0A+=20pipe_status=3D2=0A+=20= read_fifo=0A+=20timeout+=20=2010timeout=20dd=2010=20count=3D1=20dd=20= if=3Dfifo=20count=3D1=20of=3D/dev/null=20if=3Dfifo=20status=3Dnone=20= of=3D/dev/null=0A=20status=3Dnone=0A+=20yes=0A+=20returns_=202=20timeout=20= 10=20tee=20./e/noent=0A+=20fail=3D1=0A+=20wc=20-l=0A+=20test=201=20=3D=20= 1=0A+=20read_fifo=0A+=20timeout=2010=20dd=20count=3D1=20if=3Dfifo=20= of=3D/dev/null=20status=3Dnone=0A+=20yes=0A+=20timeout=2010=20tee=20-p=0A= +=20wc=20-l=0A+=20test=200=20=3D=200=0A+=20read_fifo=0A+=20timeout=2010=20= dd=20count=3D1=20if=3Dfifo=20of=3D/dev/null=20status=3Dnone=0A+=20yes=0A= +=20returns_=201=20timeout=2010=20tee=20--output-error=3Dwarn=0A+=20wc=20= -l=0A+=20test=201=20=3D=201=0A+=20read_fifo=0A+=20timeout=2010=20dd=20= count=3D1=20if=3Dfifo=20of=3D/dev/null=20status=3Dnone=0A+=20yes=0A+=20= returns_=201=20timeout=2010=20tee=20--output-error=3Dexit=20/dev/null=0A= +=20wc=20-l=0A+=20test=201=20=3D=201=0A+=20read_fifo=0A+=20timeout=2010=20= dd=20count=3D1=20if=3Dfifo=20of=3D/dev/null=20status=3Dnone=0A+=20yes=0A= +=20returns_=201=20timeout=2010=20tee=20--output-error=3Dexit=20= ./e/noent=0A+=20wc=20-l=0A+=20test=201=20=3D=201=0A+=20read_fifo=0A+=20= timeout=2010=20dd=20count=3D1=20if=3Dfifo=20of=3D/dev/null=20status=3Dnone= =0A+=20yes=0A+=20timeout=2010=20tee=20--output-error=3Dexit-nopipe=0A+=20= wc=20-l=0A+=20test=200=20=3D=200=0A+=20wait=0A+=20Exit=201=0A+=20set=20= +e=0A+=20exit=201=0A+=20exit=201=0A+=20remove_tmp_=0A+=20__st=3D1=0A+=20= cleanup_=0A+=20kill=2048407=0A+=20test=20=20=3D=20yes=0A+=20cd=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2=0A= +=20chmod=20-R=20u+rwx=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20rm=20-rf=20= /home/awilcox/Code/awilfox/user-next/system/coreutils/src/coreutils-9.2/gt= -tee.sh.fS3K=0A+=20exit=201=0AFAIL=20tests/misc/tee.sh=20(exit=20status:=20= 1)=0A= --Apple-Mail=_E04DE249-BB54-48E2-A140-FF0C026DCE53-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 10:48:22 2023 Received: (at 62542) by debbugs.gnu.org; 30 Mar 2023 14:48:22 +0000 Received: from localhost ([127.0.0.1]:59193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phtZe-0001R9-AW for submit@debbugs.gnu.org; Thu, 30 Mar 2023 10:48:22 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:36469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phtZc-0001QO-JE for 62542@debbugs.gnu.org; Thu, 30 Mar 2023 10:48:21 -0400 Received: by mail-wr1-f44.google.com with SMTP id i9so19372395wrp.3 for <62542@debbugs.gnu.org>; Thu, 30 Mar 2023 07:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680187694; x=1682779694; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:sender:from:to:cc:subject:date :message-id:reply-to; bh=0f0C0eMoakRx0rREnlABqqfmtoClIs2MwjnLzA3tMhg=; b=hcNsk7d8sWmcI77dXWOQpAQVGZG/9K3ToCTACA9tqj6rzA0erjBo7WmApyrlyUeI7c QJmPjElOFyaNcv6ztajxVQZa0+zcfEnsf3yyrSCkBqp8Ow2lttcPE2fgkKUjhXjxJktn sss+zy/zIGxL3nLdUFb9G3Q5oDe2+PKZppyB2DWE0FPrI1U7qZUtIW9hqcJ8JZFPpHSk nQADOAybAhYflvVaPuA2iYJCyTdtPU6wy2oGBLfN6zesZNiunPub7FDXy7S9PZ1jHfIb PNlzmd6DZdHDJtBfHn6uMvjoEsPE+7x/c3v5ba8Qo02sdajV6EU/X8B/jhBDpZhVjyuK 2OrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680187694; x=1682779694; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0f0C0eMoakRx0rREnlABqqfmtoClIs2MwjnLzA3tMhg=; b=CvtTIdx0STa5OieZdmeLhQron8sZfZoQ3F9ywqSuR4ST/Y0GgDkjeTetVZIlmz3ZiD va9Ic7ud6gacEBKvXr40UjgZ/ZQlDrm1u3rGyLpqdezvc3/tEJRy6HEkYrJuo3SDOOux rQIj2QaZOYy5cad//ftOh6u81XeYSKqfZ740ainhZzPb8qo6ktOOZxac3mjccRhtDxoT nXCKgk9sZuXVjJ1kZzlBrz5pAkuZMf65mlLCqIRsdSrK/gH4RaTxepHHeRudWJUBdaZp syuMsPaPieEojzxM/cMhdlYLIoKAfarqdFCkwlML5yxiBazEr3h+5CBk1Lm8A+DqPZ6h Q0Ng== X-Gm-Message-State: AAQBX9ctp+bARL59YlmMcuxdvrbdt02Wps2usyQSUEo3aVv39b3KtQqv RTk/RFLsZegXfAE2qTtrVTs= X-Google-Smtp-Source: AKy350a2o8uNpp0/pMkZ8L4WT0Xm+gm0GmIsIl6CZDDCUR9KcisZBii9lwTMDFGjuGzo7S7pP5ZsMA== X-Received: by 2002:a5d:4a0f:0:b0:2d3:bfcc:1b11 with SMTP id m15-20020a5d4a0f000000b002d3bfcc1b11mr16499733wrq.42.1680187694499; Thu, 30 Mar 2023 07:48:14 -0700 (PDT) Received: from [192.168.1.9] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id n13-20020a5d67cd000000b002e40d124460sm3847806wrw.97.2023.03.30.07.48.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 07:48:13 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------u9w2G5RgcDCsxJ6yxf5VY090" Message-ID: Date: Thu, 30 Mar 2023 15:48:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0 Subject: =?UTF-8?Q?Re=3A_bug=2362542=3A_coreutils-9=2E2=3A_Failing_tests_on_?= =?UTF-8?Q?Ad=C3=A9lie_Linux?= Content-Language: en-US To: "A. Wilcox" , 62542@debbugs.gnu.org References: <1F913CE3-E29B-4033-A98C-9B008909DDFF@Wilcox-Tech.com> From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <1F913CE3-E29B-4033-A98C-9B008909DDFF@Wilcox-Tech.com> X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 62542 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------u9w2G5RgcDCsxJ6yxf5VY090 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 30/03/2023 09:20, A. Wilcox wrote: > Hello, > > While updating coreutils to 9.2 on Adélie Linux, I’ve run into a few > interesting corner-cases in the test suite. As a note, our distribution > is using musl as the libc. > > 1. `tests/misc/csplit-heap.sh` fails when /bin/sh is Bash > > I actually saw this on 9.1 as well, but I only saw it on one system and > considered it a fluke since our auto builder infrastructure didn’t see > the issue. Seeing it again in 9.2 made me look deeper, and it turns out > that when /bin/sh is a symlink to /bin/bash, the test fails with: > > ./tests/misc/csplit-heap.sh: xmalloc: cannot allocate 16085 bytes > > When /bin/sh is a symlink to /bin/dash, the test no longer fails. > However: The attached should fix that issue. > > > 2. `tests/misc/tee.sh` fails when /bin/sh is Dash and `make` is run > under Zsh > > When running the test suite from my default Zsh environment, and when > /bin/sh is a symlink to /bin/dash, I receive an error when running the > tee test. > > If: > > - /bin/sh is a symlink to /bin/bash; OR if > > - /bin/sh is a symlink to /bin/dash, and > - make is launched from a Bash or Dash shell, *not* a Zsh shell, > > Then the test passes. This is failing as `yes >fifo` is getting EINTR on your shell. I'm not too sure why that's happening, but it might be due to interactions on the fifo from the previous part of the test. Does the following change avoid the problem for you? cheers, Pádraig diff --git a/tests/misc/tee.sh b/tests/misc/tee.sh index 0b97a9ea3..444cb688a 100755 --- a/tests/misc/tee.sh +++ b/tests/misc/tee.sh @@ -99,7 +99,7 @@ dd count=20 bs=100K if=/dev/zero status=none | dd count=0 oflag=nonblock status=none tee || { cleanup_; touch tee.fail; } } >fifo -test -f tee.fail && fail=1 +test -f tee.fail && fail=1 || cleanup_ # Ensure tee honors --output-error modes read_fifo() { timeout 10 dd count=1 if=fifo of=/dev/null status=none & } --------------u9w2G5RgcDCsxJ6yxf5VY090 Content-Type: text/x-patch; charset=UTF-8; name="csplit-vm-test.patch" Content-Disposition: attachment; filename="csplit-vm-test.patch" Content-Transfer-Encoding: base64 RnJvbSBhYTk5Yjk5ZjBjYzAzZmFjOGE3ZGIwMGI2YWVjODg4Nzc1NmE0OTljIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/UD1DMz1BMWRyYWlnPTIwQnJhZHk/ PSA8UEBkcmFpZ0JyYWR5LmNvbT4KRGF0ZTogVGh1LCAzMCBNYXIgMjAyMyAxNDoyODowMyAr MDEwMApTdWJqZWN0OiBbUEFUQ0hdIHRlc3RzOiBhZGp1c3QgY3NwbGl0IFZNIGxpbWl0Cgoq IHRlc3RzL21pc2MvY3NwbGl0LWhlYXAuc2g6IE1vcmUgbWVtb3J5IGlzIHJlcXVpcmVkIHRv IGF2b2lkCmEgZmFsc2UgZmFpbHVyZSBvbiBzb21lIHN5c3RlbXMuICBOb3RpY2VkIHdpdGgg bXVzbCBsaWJjCndpdGggYmFzaCBhcyB0aGUgc2hlbGwuICBUaGlzIGlzIGNvbmZpcm1lZCB0 byBzdGlsbCBlYXNpbHkKdHJpZ2dlciB3aXRoIHRoZSBvcmlnaW5hbCBtZW1vcnkgbGVhayBi ZWluZyB0ZXN0ZWQuCkFkZHJlc3NlcyBodHRwczovL2J1Z3MuZ251Lm9yZy82MjU0MgotLS0K IHRlc3RzL21pc2MvY3NwbGl0LWhlYXAuc2ggfCAyICstCiAxIGZpbGUgY2hhbmdlZCwgMSBp bnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS90ZXN0cy9taXNjL2Nz cGxpdC1oZWFwLnNoIGIvdGVzdHMvbWlzYy9jc3BsaXQtaGVhcC5zaAppbmRleCAyYmEzYzQ1 MDAuLjM2YjI4NmI5MyAxMDA3NTUKLS0tIGEvdGVzdHMvbWlzYy9jc3BsaXQtaGVhcC5zaAor KysgYi90ZXN0cy9taXNjL2NzcGxpdC1oZWFwLnNoCkBAIC0yNSw3ICsyNSw3IEBAIHZtPSQo Z2V0X21pbl91bGltaXRfdl8gY3NwbGl0IC16IGYgJW4lMSkgXAogICB8fCBza2lwXyAidGhp cyBzaGVsbCBsYWNrcyB1bGltaXQgc3VwcG9ydCIKIAogKAotIHVsaW1pdCAtdiAkKCgkdm0g KyAxMDAwKSkgXAorIHVsaW1pdCAtdiAkKCgkdm0gKyA0MDAwKSkgXAogICAgJiYgeyB5ZXMg fCBoZWFkIC1uMjUwMDAwMDsgZWNobyBuOyB9IHwgY3NwbGl0IC16IC0gJW4lMQogKSB8fCBm YWlsPTEKIAotLSAKMi4yNi4yCgo= --------------u9w2G5RgcDCsxJ6yxf5VY090-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 02:52:09 2023 Received: (at 62542) by debbugs.gnu.org; 31 Mar 2023 06:52:09 +0000 Received: from localhost ([127.0.0.1]:60201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pi8cK-0003Q0-CA for submit@debbugs.gnu.org; Fri, 31 Mar 2023 02:52:08 -0400 Received: from mail.wilcox-tech.com ([45.32.83.9]:48162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pi8F6-0002ch-Kq for 62542@debbugs.gnu.org; Fri, 31 Mar 2023 02:28:09 -0400 Received: (qmail 23388 invoked from network); 31 Mar 2023 06:28:10 -0000 Received: from ip98-188-99-66.tu.ok.cox.net (HELO smtpclient.apple) (AWilcox@Wilcox-Tech.com@98.188.99.66) by mail.wilcox-tech.com with ESMTPA; 31 Mar 2023 06:28:10 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: =?utf-8?Q?Re=3A_bug=2362542=3A_coreutils-9=2E2=3A_Failing_tests_o?= =?utf-8?Q?n_Ad=C3=A9lie_Linux?= From: "A. Wilcox" In-Reply-To: Date: Fri, 31 Mar 2023 01:27:54 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <5E4FDE0B-1A29-4F9C-B3E0-8459A65CB7B4@Wilcox-Tech.com> References: <1F913CE3-E29B-4033-A98C-9B008909DDFF@Wilcox-Tech.com> To: =?utf-8?Q?P=C3=A1draig_Brady?= X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62542 X-Mailman-Approved-At: Fri, 31 Mar 2023 02:52:06 -0400 Cc: 62542@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mar 30, 2023, at 9:48 AM, P=C3=A1draig Brady = wrote: >=20 > On 30/03/2023 09:20, A. Wilcox wrote: >> Hello, >> While updating coreutils to 9.2 on Ad=C3=A9lie Linux, I=E2=80=99ve = run into a few >> interesting corner-cases in the test suite. As a note, our = distribution >> is using musl as the libc. >> 1. `tests/misc/csplit-heap.sh` fails when /bin/sh is Bash >> I actually saw this on 9.1 as well, but I only saw it on one system = and >> considered it a fluke since our auto builder infrastructure didn=E2=80=99= t see >> the issue. Seeing it again in 9.2 made me look deeper, and it turns = out >> that when /bin/sh is a symlink to /bin/bash, the test fails with: >> ./tests/misc/csplit-heap.sh: xmalloc: cannot allocate 16085 bytes >> When /bin/sh is a symlink to /bin/dash, the test no longer fails. >> However: >=20 > The attached should fix that issue. Confirmed, this patch fixed it - thank you! >=20 >> 2. `tests/misc/tee.sh` fails when /bin/sh is Dash and `make` is run >> under Zsh >> When running the test suite from my default Zsh environment, and when >> /bin/sh is a symlink to /bin/dash, I receive an error when running = the >> tee test. >> If: >> - /bin/sh is a symlink to /bin/bash; OR if >> - /bin/sh is a symlink to /bin/dash, and >> - make is launched from a Bash or Dash shell, *not* a Zsh shell, >> Then the test passes. >=20 > This is failing as `yes >fifo` is getting EINTR on your shell. > I'm not too sure why that's happening, but it might be > due to interactions on the fifo from the previous part of the test. >=20 > Does the following change avoid the problem for you? >=20 > cheers, > P=C3=A1draig >=20 > diff --git a/tests/misc/tee.sh b/tests/misc/tee.sh > index 0b97a9ea3..444cb688a 100755 > --- a/tests/misc/tee.sh > +++ b/tests/misc/tee.sh > @@ -99,7 +99,7 @@ dd count=3D20 bs=3D100K if=3D/dev/zero status=3Dnone = | > dd count=3D0 oflag=3Dnonblock status=3Dnone > tee || { cleanup_; touch tee.fail; } > } >fifo > -test -f tee.fail && fail=3D1 > +test -f tee.fail && fail=3D1 || cleanup_ >=20 > # Ensure tee honors --output-error modes > read_fifo() { timeout 10 dd count=3D1 if=3Dfifo of=3D/dev/null = status=3Dnone & } This also fixed the Zsh issue, indeed. Best, -A. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 07:01:42 2023 Received: (at 62542-done) by debbugs.gnu.org; 31 Mar 2023 11:01:42 +0000 Received: from localhost ([127.0.0.1]:60480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piCVq-0002lu-0e for submit@debbugs.gnu.org; Fri, 31 Mar 2023 07:01:42 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:44990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piCVo-0002lZ-5t for 62542-done@debbugs.gnu.org; Fri, 31 Mar 2023 07:01:40 -0400 Received: by mail-wm1-f42.google.com with SMTP id u11-20020a05600c19cb00b003edcc414997so13593043wmq.3 for <62542-done@debbugs.gnu.org>; Fri, 31 Mar 2023 04:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680260494; x=1682852494; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=51pkGEbXTPzfZJIXXwRqqCBMw2CUjyJBxJlEEGlL5VU=; b=bKfeKUxL6MdMfN8eDZOnx18h57PfQDVR7UZmar4O+VxjJU4BJG/T2+zbzTF8UCHi5q UKt9DvetYca7nn9yqUqWuO/Z1kEUyhMmr319nLKTDLQB1xqHfqtVMKPIDZvhnqQlYccw IowSZLTMiVAO+cVy6SeAdtO/NvzgPr/zG8WPJJafzM3bSAciO7v1A/Qt6jcbl46yUc+K ieBBTsbq/R5c9w8oGqrI704prRvp7HatayHdlcjvgEXTge1mxGGJxH06HaxKI1OONGWx kchFBk1vB08A5KV15gWrMhc/cHNBbsY55CKTkjL+CtgPpFmWCYPKBHKl9mj7kUiiFdIE A6mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680260494; x=1682852494; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=51pkGEbXTPzfZJIXXwRqqCBMw2CUjyJBxJlEEGlL5VU=; b=KZG0CeWEfl6YmAVaigC6+SdKHDEIM4qJzCXxz8qeh11R/z65Zi1uaMEXUqvhJrxDzh /y8xBK25qmoOAVJSDAnK9GANskoe/TLwCCKD8MH25iN4r06hCSPCfos7I23ySaZJdTHg adnQU24kxBRmpHD9WsvGvqWeb03jSB14KAECIKOO2QJl/R15uWvik3uywbVgX9luBsVt fNYjaU2Nj+GXw1DR7bzFO4sxxefdEIfcUQZM7aBCn3T/jV+6ILXQrbp50zhGR/lS4f1d 1iFuBq/whytwtGEWGTHNsxeoPXwrQO4j4vkK8A1Kpcj6jL717gyDsC0/4geEg17qpC2F nQCg== X-Gm-Message-State: AO0yUKVN23OgCnma7jBKRom3g5R0ASYWkMsD5utIIILA+y5cMPXEjs4d mSpexQRR0FSd3H1l9EVOhbA= X-Google-Smtp-Source: AK7set+a+oebLILtVtulhp/mp+t5rlgznIeeDwGSmLXLNjfXr62aqxr/k416Hkc+7b3yh+O57v/fVg== X-Received: by 2002:a05:600c:2109:b0:3ed:6ba7:66d9 with SMTP id u9-20020a05600c210900b003ed6ba766d9mr22275069wml.5.1680260494163; Fri, 31 Mar 2023 04:01:34 -0700 (PDT) Received: from [192.168.1.9] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id k4-20020a05600c1c8400b003ee610d1ce9sm9646406wms.34.2023.03.31.04.01.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Mar 2023 04:01:33 -0700 (PDT) Message-ID: <75dd0d04-eb12-1c22-156d-02ae3748e718@draigBrady.com> Date: Fri, 31 Mar 2023 12:01:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0 Subject: =?UTF-8?Q?Re=3A_bug=2362542=3A_coreutils-9=2E2=3A_Failing_tests_on_?= =?UTF-8?Q?Ad=C3=A9lie_Linux?= Content-Language: en-US To: "A. Wilcox" References: <1F913CE3-E29B-4033-A98C-9B008909DDFF@Wilcox-Tech.com> <5E4FDE0B-1A29-4F9C-B3E0-8459A65CB7B4@Wilcox-Tech.com> From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <5E4FDE0B-1A29-4F9C-B3E0-8459A65CB7B4@Wilcox-Tech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 62542-done Cc: 62542-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) On 31/03/2023 07:27, A. Wilcox wrote: > On Mar 30, 2023, at 9:48 AM, Pádraig Brady wrote: >> >> On 30/03/2023 09:20, A. Wilcox wrote: >>> Hello, >>> While updating coreutils to 9.2 on Adélie Linux, I’ve run into a few >>> interesting corner-cases in the test suite. As a note, our distribution >>> is using musl as the libc. >>> 1. `tests/misc/csplit-heap.sh` fails when /bin/sh is Bash >>> I actually saw this on 9.1 as well, but I only saw it on one system and >>> considered it a fluke since our auto builder infrastructure didn’t see >>> the issue. Seeing it again in 9.2 made me look deeper, and it turns out >>> that when /bin/sh is a symlink to /bin/bash, the test fails with: >>> ./tests/misc/csplit-heap.sh: xmalloc: cannot allocate 16085 bytes >>> When /bin/sh is a symlink to /bin/dash, the test no longer fails. >>> However: >> >> The attached should fix that issue. > > > Confirmed, this patch fixed it - thank you! > > >> >>> 2. `tests/misc/tee.sh` fails when /bin/sh is Dash and `make` is run >>> under Zsh >>> When running the test suite from my default Zsh environment, and when >>> /bin/sh is a symlink to /bin/dash, I receive an error when running the >>> tee test. >>> If: >>> - /bin/sh is a symlink to /bin/bash; OR if >>> - /bin/sh is a symlink to /bin/dash, and >>> - make is launched from a Bash or Dash shell, *not* a Zsh shell, >>> Then the test passes. >> >> This is failing as `yes >fifo` is getting EINTR on your shell. >> I'm not too sure why that's happening, but it might be >> due to interactions on the fifo from the previous part of the test. >> >> Does the following change avoid the problem for you? >> >> cheers, >> Pádraig >> >> diff --git a/tests/misc/tee.sh b/tests/misc/tee.sh >> index 0b97a9ea3..444cb688a 100755 >> --- a/tests/misc/tee.sh >> +++ b/tests/misc/tee.sh >> @@ -99,7 +99,7 @@ dd count=20 bs=100K if=/dev/zero status=none | >> dd count=0 oflag=nonblock status=none >> tee || { cleanup_; touch tee.fail; } >> } >fifo >> -test -f tee.fail && fail=1 >> +test -f tee.fail && fail=1 || cleanup_ >> >> # Ensure tee honors --output-error modes >> read_fifo() { timeout 10 dd count=1 if=fifo of=/dev/null status=none & } > > > This also fixed the Zsh issue, indeed. Thanks for the detailed report and retesting. Pushed those fixes. Marking this as done. cheers, Pádraig From unknown Fri Jun 20 18:19:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 28 Apr 2023 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator