Diff of the two buildlogs: -- --- b1/build.log 2023-05-03 19:16:15.884955636 +0000 +++ b2/build.log 2023-05-03 19:26:01.723235389 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 3 07:13:23 -12 2023 -I: pbuilder-time-stamp: 1683141203 +I: Current time: Thu May 4 09:16:48 +14 2023 +I: pbuilder-time-stamp: 1683141408 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-rogpeppe-go-internal_1.9.0.orig.tar.gz] I: copying [./golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Aug 29 07:46:50 2022 -12 +gpgv: Signature made Tue Aug 30 09:46:50 2022 +14 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: issuer "foka@debian.org" gpgv: Can't check signature: No public key @@ -26,135 +26,167 @@ dpkg-source: info: unpacking golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/13420/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4pro0. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 4 09:17 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='fdcfe6b53e7d40b1b087853d0dfeb7c5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='13420' - PS1='# ' - PS2='> ' + INVOCATION_ID=c110c1672bf94306903ccef448f62872 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=17540 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ye5FPrti/pbuilderrc_gHJQ --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ye5FPrti/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.9.0-1.dsc' - SUDO_GID='114' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ye5FPrti/pbuilderrc_ueDr --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ye5FPrti/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-rogpeppe-go-internal_1.9.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux jtx1b 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-armmp #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/13420/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 4 09:17 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -237,7 +269,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main armhf golang-go armhf 2:1.19~1 [45.0 kB] Get: 38 http://deb.debian.org/debian bookworm/main armhf golang-any armhf 2:1.19~1 [5876 B] Get: 39 http://deb.debian.org/debian bookworm/main armhf golang-github-pkg-diff-dev all 0.0~git20210226.20ebb0f-1 [93.6 kB] -Fetched 95.0 MB in 9s (11.0 MB/s) +Fetched 95.0 MB in 8s (12.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19329 files and directories currently installed.) @@ -414,8 +446,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-rogpeppe-go-internal-1.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-rogpeppe-go-internal_1.9.0-1_source.changes +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/golang-github-rogpeppe-go-internal-1.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-rogpeppe-go-internal_1.9.0-1_source.changes dpkg-buildpackage: info: source package golang-github-rogpeppe-go-internal dpkg-buildpackage: info: source version 1.9.0-1 dpkg-buildpackage: info: source distribution unstable @@ -433,28 +476,28 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar internal/goarch -internal/cpu internal/goexperiment -internal/abi +internal/unsafeheader +runtime/internal/syscall +internal/cpu internal/goos +internal/abi runtime/internal/math -runtime/internal/syscall runtime/internal/sys -internal/bytealg -runtime/internal/atomic internal/race sync/atomic unicode +internal/bytealg +runtime/internal/atomic unicode/utf8 -runtime math/bits -math crypto/internal/subtle crypto/subtle +math internal/itoa +runtime crypto/internal/boring/sig encoding unicode/utf16 @@ -471,19 +514,21 @@ internal/reflectlite sync internal/testlog -math/rand internal/singleflight +math/rand +internal/sysinfo runtime/cgo errors +github.com/rogpeppe/go-internal/par sort io strconv -bytes -hash internal/oserror syscall -crypto +bytes +hash reflect +crypto internal/safefilepath path strings @@ -492,58 +537,49 @@ internal/syscall/execenv bufio hash/crc32 -github.com/rogpeppe/go-internal/par vendor/golang.org/x/net/dns/dnsmessage +crypto/internal/randutil +crypto/internal/nistec/fiat +internal/poll +io/fs +context encoding/binary internal/fmtsort -internal/poll +os +crypto/rc4 +vendor/golang.org/x/text/transform +net/http/internal/ascii crypto/cipher -io/fs encoding/base64 +crypto/internal/edwards25519/field crypto/internal/boring -crypto/sha256 -context -os -crypto/internal/randutil -crypto/aes crypto/des -crypto/internal/nistec/fiat -crypto/sha512 -crypto/internal/edwards25519/field +crypto/sha256 fmt io/ioutil path/filepath internal/godebug internal/intern net/netip +crypto/aes +crypto/internal/nistec +crypto/sha512 +crypto/internal/edwards25519 +net encoding/hex github.com/rogpeppe/go-internal/cache flag compress/flate encoding/json github.com/rogpeppe/go-internal/module -archive/zip github.com/rogpeppe/go-internal/txtar log -net +archive/zip compress/gzip math/big -crypto/internal/nistec -crypto/internal/edwards25519 crypto/hmac crypto/md5 -crypto/rc4 crypto/sha1 -crypto/rand -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/ed25519 -crypto/rsa -vendor/golang.org/x/crypto/cryptobyte -crypto/dsa -crypto/x509/pkix -crypto/ecdsa encoding/pem net/url vendor/golang.org/x/crypto/chacha20 @@ -552,63 +588,70 @@ vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -crypto/x509 +crypto/rand +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/ed25519 +crypto/rsa +vendor/golang.org/x/crypto/cryptobyte +crypto/dsa +crypto/x509/pkix vendor/golang.org/x/text/secure/bidirule -net/textproto vendor/golang.org/x/net/http2/hpack -mime vendor/golang.org/x/net/idna -crypto/tls +crypto/ecdsa mime/quotedprintable -mime/multipart -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy +mime net/http/internal -net/http/internal/ascii regexp/syntax github.com/pkg/diff/edit +crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy +vendor/golang.org/x/net/http/httpguts +mime/multipart github.com/pkg/diff/ctxt github.com/pkg/diff/myers +regexp github.com/pkg/diff/write -github.com/pkg/diff github.com/rogpeppe/go-internal/imports +github.com/pkg/diff os/exec -regexp -github.com/rogpeppe/go-internal/internal/os/execpath -internal/sysinfo runtime/debug runtime/trace -testing go/token +testing +github.com/rogpeppe/go-internal/internal/os/execpath go/scanner -net/http/httptrace -net/http -go/ast -github.com/rogpeppe/go-internal/testenv go/build/constraint +crypto/tls go/doc/comment +go/ast internal/lazyregexp -go/internal/typeparams -go/parser -go/doc internal/buildcfg internal/goroot github.com/rogpeppe/go-internal/cmd/txtar-addmod -go/build +github.com/rogpeppe/go-internal/testenv +go/doc +go/internal/typeparams +go/parser github.com/rogpeppe/go-internal/cmd/txtar-c -github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/cmd/txtar-x +go/build github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort -github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/lockedfile +net/http/httptrace github.com/rogpeppe/go-internal/renameio +net/http +github.com/rogpeppe/go-internal/testscript +github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/testscript @@ -618,22 +661,22 @@ patching file _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go Hunk #1 succeeded at 785 (offset 50 lines). GOPROXY= dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar + cd _build && go test -vet=off -v -p 4 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar === RUN TestBasic ---- PASS: TestBasic (0.05s) +--- PASS: TestBasic (0.32s) === RUN TestGrowth ---- PASS: TestGrowth (4.02s) +--- PASS: TestGrowth (29.92s) === RUN TestVerifyPanic cache_test.go:139: go: internal cache error: cache verify failed: id=0100000000000000000000000000000000000000000000000000000000000000 changed:<<< >>> old: cb8379ac2098aa165029e3938a51da0bcecfc008fd6795f401178647f96c5b34 3 new: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad 3 ---- PASS: TestVerifyPanic (0.06s) +--- PASS: TestVerifyPanic (0.40s) === RUN TestCacheLog ---- PASS: TestCacheLog (0.05s) +--- PASS: TestCacheLog (0.46s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.13s) +--- PASS: TestCacheTrim (0.57s) === RUN TestDefaultDir --- PASS: TestDefaultDir (0.00s) === RUN TestHash @@ -641,7 +684,7 @@ === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 4.324s +ok github.com/rogpeppe/go-internal/cache 31.723s === RUN TestScripts === RUN TestScripts/env_values === PAUSE TestScripts/env_values @@ -667,10 +710,65 @@ === PAUSE TestScripts/work === CONT TestScripts/env_values === CONT TestScripts/noproxy -=== CONT TestScripts/work +=== CONT TestScripts/update +=== CONT TestScripts/skip + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + GOINTERNALMODPATH=. + GONOSUMDB=* + + # should support skip (0.781s) + > unquote file.txt + > testscript -v file.txt + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + + > go version + [stdout] + go version go1.19.8 linux/arm + + > skip + > stdout 'go version' + > ! stderr .+ + PASS + +=== CONT TestScripts/simple === CONT TestScripts/update testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -690,9 +788,9 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support the -update flag (0.000s) + # should support the -update flag (0.002s) > unquote in.txt res.txt - # Should be an error to use -u with only stdin (0.044s) + # Should be an error to use -u with only stdin (0.064s) > stdin in.txt > ! testscript -u [stderr] @@ -700,19 +798,63 @@ [exit status 1] > stderr 'cannot use -u when reading from stdin' # It is ok to use -u when reading from stdin and - # a regular file (0.167s) + # a regular file (0.753s) > testscript -u - in.txt [stdout] PASS PASS - $WORK/.tmp/testscript3682733753/in.txt/script.txtar updated + $WORK/.tmp/testscript2443418223/in.txt/script.txtar updated > cmp in.txt res.txt PASS +=== CONT TestScripts/work +=== CONT TestScripts/env_values + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + GOINTERNALMODPATH=. + GONOSUMDB=* + + # Test that passing env values, e.g. ENV1=val, works (0.001s) + > unquote test.txt + > env BLAH1= + > env BLAH2=junk + # Normal operation (0.850s) + > testscript -e BLAH1=rubbish -e BLAH2 test.txt + [stdout] + PASS + # It is an error to specify WORK. Note the error message + # appears on stdout because it is written to the log output + # of testscript, which has no concept of stderr. (0.615s) + > ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt + [stdout] + FAIL: $WORK/.tmp/testscript2725271912/test.txt/script.txtar:0: cannot override WORK variable + [stderr] + error running test.txt in $WORK/.tmp/testscript2725271912/test.txt + + [exit status 1] + > stdout 'cannot override WORK variable' + PASS + === CONT TestScripts/error === CONT TestScripts/work testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -738,12 +880,12 @@ # # This test also covers the use of multiple scripts which share # the same basename, ensuring that the naming of the directories - # within the working directory. (0.224s) + # within the working directory. (0.816s) > unquote file.txt dir/file.txt > testscript -v -work file.txt dir/file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -764,7 +906,7 @@ > exec true PASS WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -785,9 +927,9 @@ > exec true PASS [stderr] - temporary work directory: $WORK/.tmp/testscript803754337 - temporary work directory for file.txt: $WORK/.tmp/go-test-script318568340/script-script - temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script2789395755/script-script + temporary work directory: $WORK/.tmp/testscript411989303 + temporary work directory for file.txt: $WORK/.tmp/go-test-script3131568532/script-script + temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script1083423150/script-script > stderr '^temporary work directory: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for dir[/\\]file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' @@ -797,7 +939,7 @@ === CONT TestScripts/nogo testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -817,15 +959,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.000s) + # should support skip (0.001s) > unquote file.txt # We can't just set PATH to empty because we need the part of it that - # contains the command names, so use a special builtin instead. (0.027s) + # contains the command names, so use a special builtin instead. (0.106s) > dropgofrompath > ! testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -836,9 +978,9 @@ exe= > go env - FAIL: $WORK/.tmp/testscript1359654490/file.txt/script.txtar:1: unknown command "go" + FAIL: $WORK/.tmp/testscript3157780563/file.txt/script.txtar:1: unknown command "go" [stderr] - error running file.txt in $WORK/.tmp/testscript1359654490/file.txt + error running file.txt in $WORK/.tmp/testscript3157780563/file.txt [exit status 1] > stdout 'unknown command "go"' @@ -847,7 +989,7 @@ === CONT TestScripts/help testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -867,7 +1009,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.015s) + # Simply sanity check on help output (0.066s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -994,54 +1136,10 @@ > stderr 'Examples' PASS -=== CONT TestScripts/skip -=== CONT TestScripts/env_values - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - GOINTERNALMODPATH=. - GONOSUMDB=* - - # Test that passing env values, e.g. ENV1=val, works (0.000s) - > unquote test.txt - > env BLAH1= - > env BLAH2=junk - # Normal operation (0.219s) - > testscript -e BLAH1=rubbish -e BLAH2 test.txt - [stdout] - PASS - # It is an error to specify WORK. Note the error message - # appears on stdout because it is written to the log output - # of testscript, which has no concept of stderr. (0.123s) - > ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt - [stdout] - FAIL: $WORK/.tmp/testscript466096368/test.txt/script.txtar:0: cannot override WORK variable - [stderr] - error running test.txt in $WORK/.tmp/testscript466096368/test.txt - - [exit status 1] - > stdout 'cannot override WORK variable' - PASS - +=== CONT TestScripts/env_var_with_go === CONT TestScripts/simple -=== CONT TestScripts/skip testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1061,12 +1159,14 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.165s) + # With .gomodproxy supporting files, any GOPROXY from the + # environment should be overridden by the test proxy. (1.235s) + > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1081,110 +1181,35 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct + GOPROXY=http://127.0.0.1:35373/mod goversion=1.19 - - > go version - [stdout] - go version go1.19.8 linux/arm - - > skip - > stdout 'go version' - > ! stderr .+ - PASS - -=== CONT TestScripts/env_var_with_go -=== CONT TestScripts/error - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.000s) - > unquote file.txt - # stdin (0.128s) - > stdin file.txt - > ! testscript -v - [stdout] - WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - - > exec false - [exit status 1] - FAIL: $WORK/.tmp/testscript1871480964/-/script.txtar:1: unexpected command failure + > go get -d fruit.com [stderr] - error running in $WORK/.tmp/testscript1871480964/- + go: downloading fruit.com v1.0.0 - [exit status 1] - > stderr 'error running in' - # file-based (0.103s) - > ! testscript -v file.txt + > go list -m [stdout] - WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 + example.com/mod - > exec false - [exit status 1] - FAIL: $WORK/.tmp/testscript72367070/file.txt/script.txtar:1: unexpected command failure - [stderr] - error running file.txt in $WORK/.tmp/testscript72367070/file.txt + > stdout 'example.com/mod' + > go list fruit.com/... + [stdout] + fruit.com/coretest + fruit.com/fruit - [exit status 1] - > stderr 'error running file.txt in' + > stdout 'fruit.com/fruit' + > stdout 'fruit.com/coretest' + PASS + > stdout 'example.com/mod' + > ! stderr .+ PASS === CONT TestScripts/env_var_no_go === CONT TestScripts/noproxy testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1205,13 +1230,13 @@ GONOSUMDB=* # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. (0.522s) + # the environment. (2.519s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1269,85 +1294,16 @@ CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" - GOGCCFLAGS="-fPIC -marm -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build287850018=/tmp/go-build -gno-record-gcc-switches" + GOGCCFLAGS="-fPIC -marm -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build2614453359=/tmp/go-build -gno-record-gcc-switches" > [!windows] stdout '^GOPROXY="0.1.2.3"$' > [windows] stdout '^set GOPROXY=0.1.2.3$' PASS PASS -=== CONT TestScripts/simple - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - GOINTERNALMODPATH=. - GONOSUMDB=* - - # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (0.207s) - > env GOPROXY=0.1.2.3 - > unquote file.txt - > testscript -v file.txt - [stdout] - WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:39965/mod - goversion=1.19 - GONOSUMDB=* - - > go get -d fruit.com - [stderr] - go: downloading fruit.com v1.0.0 - - > go list -m - [stdout] - example.com/mod - - > stdout 'example.com/mod' - > go list fruit.com/... - [stdout] - fruit.com/coretest - fruit.com/fruit - - > stdout 'fruit.com/fruit' - > stdout 'fruit.com/coretest' - PASS - > stdout 'example.com/mod' - > ! stderr .+ - PASS - === CONT TestScripts/env_var_no_go testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1369,18 +1325,18 @@ # Test passing environment variables to scripts with no go command on PATH # - # This is the counterpart to env_var_with_go.txt (0.001s) + # This is the counterpart to env_var_with_go.txt (0.013s) > unquote noproxy.txt > unquote withproxy.txt > dropgofrompath > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.015s) + # no GOPROXY, no pass-through, no proxy (0.087s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1401,11 +1357,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.020s) + # no GOPROXY, no pass-through, with proxy (0.142s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1414,7 +1370,7 @@ $=$ TESTSCRIPT_COVER_DIR= exe= - GOPROXY=http://127.0.0.1:38755/mod + GOPROXY=http://127.0.0.1:42985/mod GONOSUMDB=* > env BANANA @@ -1422,17 +1378,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:38755/mod + GOPROXY=http://127.0.0.1:42985/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.016s) + # no GOPROXY, with pass-through, no proxy (0.093s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1456,11 +1412,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.015s) + # no GOPROXY, with pass-through, with proxy (0.122s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1486,11 +1442,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.011s) + # with GOPROXY, no pass-through, no proxy (0.046s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1511,11 +1467,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.014s) + # with GOPROXY, no pass-through, with proxy (0.054s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1524,7 +1480,7 @@ $=$ TESTSCRIPT_COVER_DIR= exe= - GOPROXY=http://127.0.0.1:42087/mod + GOPROXY=http://127.0.0.1:46609/mod GONOSUMDB=* > env BANANA @@ -1532,17 +1488,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:42087/mod + GOPROXY=http://127.0.0.1:46609/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.013s) + # with GOPROXY, with pass-through, no proxy (0.091s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1566,11 +1522,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.011s) + # with GOPROXY, with pass-through, with proxy (0.145s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1597,9 +1553,96 @@ > ! stderr .+ PASS +=== CONT TestScripts/error + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + GOINTERNALMODPATH=. + GONOSUMDB=* + + # should support skip (0.001s) + > unquote file.txt + # stdin (0.724s) + > stdin file.txt + > ! testscript -v + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + + > exec false + [exit status 1] + FAIL: $WORK/.tmp/testscript1013917611/-/script.txtar:1: unexpected command failure + [stderr] + error running in $WORK/.tmp/testscript1013917611/- + + [exit status 1] + > stderr 'error running in' + # file-based (0.745s) + > ! testscript -v file.txt + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + + > exec false + [exit status 1] + FAIL: $WORK/.tmp/testscript1490006776/file.txt/script.txtar:1: unexpected command failure + [stderr] + error running file.txt in $WORK/.tmp/testscript1490006776/file.txt + + [exit status 1] + > stderr 'error running file.txt in' + PASS + === CONT TestScripts/env_var_with_go testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1625,14 +1668,14 @@ # the string literal $WORK because testscript rewrites the actual directory # to $WORK. Hence we don't want to expand this script's $WORK in such a comparison. # - # This is the counterpart to env_var_no_go.txt (0.001s) + # This is the counterpart to env_var_no_go.txt (0.002s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.101s) + # Baseline (0.699s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1665,11 +1708,11 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.084s) + # no GOPROXY, no pass-through, no proxy (0.490s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1699,11 +1742,11 @@ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.088s) + # no GOPROXY, no pass-through, with proxy (0.480s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1718,7 +1761,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:38623/mod + GOPROXY=http://127.0.0.1:33385/mod goversion=1.19 GONOSUMDB=* @@ -1727,17 +1770,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:38623/mod + GOPROXY=http://127.0.0.1:33385/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.085s) + # no GOPROXY, with pass-through, no proxy (0.351s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1767,11 +1810,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.094s) + # no GOPROXY, with pass-through, with proxy (0.475s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1803,11 +1846,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.089s) + # with GOPROXY, no pass-through, no proxy (0.524s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1836,11 +1879,11 @@ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.090s) + # with GOPROXY, no pass-through, with proxy (0.355s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1855,7 +1898,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:40673/mod + GOPROXY=http://127.0.0.1:40481/mod goversion=1.19 GONOSUMDB=* @@ -1864,17 +1907,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:40673/mod + GOPROXY=http://127.0.0.1:40481/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.088s) + # with GOPROXY, with pass-through, no proxy (0.368s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1904,11 +1947,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.094s) + # with GOPROXY, with pass-through, with proxy (0.384s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main541550453/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1563255461/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1941,20 +1984,20 @@ > ! stderr .+ PASS ---- PASS: TestScripts (0.12s) - --- PASS: TestScripts/update (0.21s) - --- PASS: TestScripts/work (0.23s) - --- PASS: TestScripts/nogo (0.03s) - --- PASS: TestScripts/help (0.02s) - --- PASS: TestScripts/env_values (0.34s) - --- PASS: TestScripts/skip (0.17s) - --- PASS: TestScripts/error (0.23s) - --- PASS: TestScripts/noproxy (0.52s) - --- PASS: TestScripts/simple (0.21s) - --- PASS: TestScripts/env_var_no_go (0.12s) - --- PASS: TestScripts/env_var_with_go (0.82s) +--- PASS: TestScripts (0.55s) + --- PASS: TestScripts/skip (0.79s) + --- PASS: TestScripts/update (0.84s) + --- PASS: TestScripts/env_values (1.48s) + --- PASS: TestScripts/work (0.85s) + --- PASS: TestScripts/nogo (0.12s) + --- PASS: TestScripts/help (0.08s) + --- PASS: TestScripts/simple (1.24s) + --- PASS: TestScripts/noproxy (2.54s) + --- PASS: TestScripts/env_var_no_go (0.80s) + --- PASS: TestScripts/error (1.49s) + --- PASS: TestScripts/env_var_with_go (4.15s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 1.394s +ok github.com/rogpeppe/go-internal/cmd/testscript 6.749s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -1969,7 +2012,7 @@ go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 === CONT TestScripts/encode testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3144925398/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3009597863/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1984,7 +2027,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:42679/mod + GOPROXY=http://127.0.0.1:40567/mod goversion=1.19 GONOSUMDB=* @@ -1997,7 +2040,7 @@ === CONT TestScripts/to_stdout testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3144925398/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3009597863/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2012,7 +2055,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:42679/mod + GOPROXY=http://127.0.0.1:40567/mod goversion=1.19 GONOSUMDB=* @@ -2039,7 +2082,7 @@ === CONT TestScripts/txtar-addmod-self testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3144925398/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3009597863/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2054,7 +2097,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:42679/mod + GOPROXY=http://127.0.0.1:40567/mod goversion=1.19 GONOSUMDB=* @@ -2068,12 +2111,12 @@ > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar PASS ---- PASS: TestScripts (0.09s) - --- PASS: TestScripts/encode (0.14s) - --- PASS: TestScripts/to_stdout (0.20s) - --- PASS: TestScripts/txtar-addmod-self (0.35s) +--- PASS: TestScripts (0.47s) + --- PASS: TestScripts/encode (0.63s) + --- PASS: TestScripts/to_stdout (0.72s) + --- PASS: TestScripts/txtar-addmod-self (1.41s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.459s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 1.955s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -2084,12 +2127,12 @@ === RUN TestScripts/txtar-savedir-self === PAUSE TestScripts/txtar-savedir-self === CONT TestScripts/all -=== CONT TestScripts/txtar-savedir-self === CONT TestScripts/quote === CONT TestScripts/needquote +=== CONT TestScripts/txtar-savedir-self === CONT TestScripts/quote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1467152196/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main899279370/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2113,7 +2156,7 @@ === CONT TestScripts/txtar-savedir-self testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1467152196/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main899279370/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2145,7 +2188,7 @@ === CONT TestScripts/needquote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1467152196/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main899279370/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2169,7 +2212,7 @@ === CONT TestScripts/all testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1467152196/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main899279370/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2181,7 +2224,7 @@ > unquote expect-all > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.015s) + # Without the -a flag, it should ignore . files. (0.034s) > txtar-c blah [stdout] -- go.mod -- @@ -2197,7 +2240,7 @@ } > ! stderr .+ > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.008s) + # With the -a flag, it should include them. (0.032s) > txtar-c -a blah [stdout] -- .foo/foo -- @@ -2220,12 +2263,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/quote (0.01s) - --- PASS: TestScripts/txtar-savedir-self (0.02s) - --- PASS: TestScripts/needquote (0.02s) - --- PASS: TestScripts/all (0.03s) + --- PASS: TestScripts/quote (0.04s) + --- PASS: TestScripts/needquote (0.06s) + --- PASS: TestScripts/txtar-savedir-self (0.06s) + --- PASS: TestScripts/all (0.11s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.033s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.144s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2240,9 +2283,8 @@ === CONT TestScripts/extract-stdin === CONT TestScripts/extract-out-of-bounds === CONT TestScripts/extract -=== CONT TestScripts/extract-dir testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1795953242/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main613618395/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2253,14 +2295,14 @@ exe= > unquote file.txtar - > txtar-x -C x/y file.txtar - > cmp x/y/foo expect/foo - > cmp x/y/a/b/bar expect/a/b/bar + > txtar-x file.txtar + > cmp foo expect/foo + > cmp a/b/bar expect/a/b/bar PASS === CONT TestScripts/extract-stdin testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1795953242/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main613618395/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2277,27 +2319,9 @@ > cmp a/b/bar expect/a/b/bar PASS -=== CONT TestScripts/extract - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1795953242/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - - > unquote file.txtar - > txtar-x file.txtar - > cmp foo expect/foo - > cmp a/b/bar expect/a/b/bar - PASS - === CONT TestScripts/extract-out-of-bounds testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1795953242/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main613618395/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2320,23 +2344,41 @@ > stderr '"/foo": outside parent directory' PASS +=== CONT TestScripts/extract-dir + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main613618395/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + + > unquote file.txtar + > txtar-x -C x/y file.txtar + > cmp x/y/foo expect/foo + > cmp x/y/a/b/bar expect/a/b/bar + PASS + --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/extract-dir (0.01s) - --- PASS: TestScripts/extract-stdin (0.02s) - --- PASS: TestScripts/extract (0.03s) - --- PASS: TestScripts/extract-out-of-bounds (0.04s) + --- PASS: TestScripts/extract (0.08s) + --- PASS: TestScripts/extract-stdin (0.11s) + --- PASS: TestScripts/extract-out-of-bounds (0.11s) + --- PASS: TestScripts/extract-dir (0.13s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.051s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.191s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir --- PASS: TestHashDir (0.00s) === RUN TestHashZip ---- PASS: TestHashZip (0.00s) +--- PASS: TestHashZip (0.01s) === RUN TestDirFiles ---- PASS: TestDirFiles (0.00s) +--- PASS: TestDirFiles (0.01s) PASS -ok github.com/rogpeppe/go-internal/dirhash 0.009s +ok github.com/rogpeppe/go-internal/dirhash 0.050s === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestOrder @@ -2344,13 +2386,13 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.008s +ok github.com/rogpeppe/go-internal/fmtsort 0.026s === RUN TestScripts === RUN TestScripts/list === PAUSE TestScripts/list === CONT TestScripts/list testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2365,11 +2407,11 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:35983/mod + GOPROXY=http://127.0.0.1:43149/mod goversion=1.19 GONOSUMDB=* - # prior to go 1.12 you cannot list a module without a requirement (0.139s) + # prior to go 1.12 you cannot list a module without a requirement (0.696s) > [!go1.12] go get fruit.com > go list -m -versions fruit.com [stdout] @@ -2390,17 +2432,17 @@ # as that places GOMODCACHE inside the Go module and "mod tidy" walks it. # "mod tidy" then complains about invalid import paths such as # "mod/gopath/pkg/mod/fruit.com@v1.1.0/fruit". - # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.011s) + # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.087s) > go mod tidy [stderr] go: warning: "all" matched no packages PASS ---- PASS: TestScripts (0.09s) - --- PASS: TestScripts/list (0.15s) +--- PASS: TestScripts (0.44s) + --- PASS: TestScripts/list (0.83s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.260s +ok github.com/rogpeppe/go-internal/goproxytest 1.373s === RUN TestSimple === RUN TestSimple/cover === PAUSE TestSimple/cover @@ -2411,39 +2453,8 @@ === CONT TestSimple/cover === CONT TestSimple/version === CONT TestSimple/env -=== CONT TestSimple/version - testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=arm - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal - - > go list -f '{{context.ReleaseTags}}' runtime - [stdout] - [go1.1 go1.2 go1.3 go1.4 go1.5 go1.6 go1.7 go1.8 go1.9 go1.10 go1.11 go1.12 go1.13 go1.14 go1.15 go1.16 go1.17 go1.18 go1.19] - - > [go1.11] [!go1.12] stdout go1\.11 - > [go1.11] [!go1.12] ! stdout go1\.12 - > [go1.12] stdout go1\.12 - PASS - -=== CONT TestSimple/env testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2463,7 +2474,7 @@ GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal # GOPATH and GOMODCACHE are not shared with the host, - # but GOCACHE is. (0.547s) + # but GOCACHE is. (2.461s) > go env [stdout] GO111MODULE="" @@ -2504,17 +2515,47 @@ CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" - GOGCCFLAGS="-fPIC -marm -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build1189512677=/tmp/go-build -gno-record-gcc-switches" + GOGCCFLAGS="-fPIC -marm -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build513526634=/tmp/go-build -gno-record-gcc-switches" > stdout GOPATH=.*${WORK@R} > stdout GOMODCACHE=.*${WORK@R} > ! stdout GOCACHE=.*${WORK@R} PASS +=== CONT TestSimple/version + testscript.go:429: WORK=$WORK + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=arm + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal + + > go list -f '{{context.ReleaseTags}}' runtime + [stdout] + [go1.1 go1.2 go1.3 go1.4 go1.5 go1.6 go1.7 go1.8 go1.9 go1.10 go1.11 go1.12 go1.13 go1.14 go1.15 go1.16 go1.17 go1.18 go1.19] + + > [go1.11] [!go1.12] stdout go1\.11 + > [go1.11] [!go1.12] ! stdout go1\.12 + > [go1.12] stdout go1\.12 + PASS + === CONT TestSimple/cover testscript.go:793: testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2536,25 +2577,25 @@ > unquote scripts/exec.txt > [darwin] skip 'Pending a fix for github.com/rogpeppe/go-internal/issues/130' # The module uses testscript itself. - # Use the checked out module, based on where the test binary ran. (0.672s) + # Use the checked out module, based on where the test binary ran. (3.267s) > go mod edit -replace=github.com/rogpeppe/go-internal=${GOINTERNAL_MODULE} > go mod tidy [stderr] go: found github.com/rogpeppe/go-internal/gotooltest in github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000 go: found github.com/rogpeppe/go-internal/testscript in github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000 go: github.com/rogpeppe/go-internal@v0.0.0-00010101000000-000000000000 requires - github.com/pkg/diff@v0.0.0-20210226163009-20ebb0f2a09e: Get "https://proxy.golang.org/github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:56619->[::1]:53: read: connection refused + github.com/pkg/diff@v0.0.0-20210226163009-20ebb0f2a09e: Get "https://proxy.golang.org/github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:42508->[::1]:53: read: connection refused [exit status 1] FAIL: testdata/cover.txt:8: unexpected go command failure SKIP: TestSimple/cover: Possible restricted network access ---- PASS: TestSimple (0.12s) - --- PASS: TestSimple/version (0.42s) - --- PASS: TestSimple/env (0.55s) - --- SKIP: TestSimple/cover (0.67s) +--- PASS: TestSimple (0.54s) + --- PASS: TestSimple/env (2.47s) + --- PASS: TestSimple/version (2.91s) + --- SKIP: TestSimple/cover (3.30s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.801s +ok github.com/rogpeppe/go-internal/gotooltest 3.905s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2564,11 +2605,11 @@ === RUN TestReadFailuresIgnored --- PASS: TestReadFailuresIgnored (0.00s) === RUN TestScan ---- PASS: TestScan (0.00s) +--- PASS: TestScan (0.01s) === RUN TestScanStar --- PASS: TestScanStar (0.00s) PASS -ok github.com/rogpeppe/go-internal/imports 0.063s +ok github.com/rogpeppe/go-internal/imports 0.051s ? github.com/rogpeppe/go-internal/internal/os/execpath [no test files] ? github.com/rogpeppe/go-internal/internal/syscall/windows [no test files] ? github.com/rogpeppe/go-internal/internal/syscall/windows/registry [no test files] @@ -2576,7 +2617,7 @@ === RUN TestDiff --- PASS: TestDiff (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/textutil 0.015s +ok github.com/rogpeppe/go-internal/internal/textutil 0.038s === RUN TestMutexExcludes === PAUSE TestMutexExcludes === RUN TestReadWaitsForLock @@ -2584,27 +2625,30 @@ === RUN TestCanLockExistingFile === PAUSE TestCanLockExistingFile === RUN TestSpuriousEDEADLK ---- PASS: TestSpuriousEDEADLK (0.06s) +--- PASS: TestSpuriousEDEADLK (0.07s) === CONT TestMutexExcludes lockedfile_test.go:75: mu := MutexAt(_) +=== CONT TestCanLockExistingFile +=== CONT TestMutexExcludes lockedfile_test.go:81: unlock, _ := mu.Lock() lockedfile_test.go:84: mu2 := MutexAt(mu.Path) -=== CONT TestCanLockExistingFile === CONT TestReadWaitsForLock lockedfile_test.go:124: WriteString("part 1\n") = === CONT TestMutexExcludes lockedfile_test.go:97: unlock() - lockedfile_test.go:92: unlock2, _ := mu2.Lock() - lockedfile_test.go:93: unlock2() ---- PASS: TestMutexExcludes (0.01s) === CONT TestReadWaitsForLock lockedfile_test.go:146: WriteString("part 2\n") = ---- PASS: TestCanLockExistingFile (0.01s) +=== CONT TestMutexExcludes + lockedfile_test.go:92: unlock2, _ := mu2.Lock() === CONT TestReadWaitsForLock lockedfile_test.go:136: Read(_) = "part 1\npart 2\n" +=== CONT TestMutexExcludes + lockedfile_test.go:93: unlock2() +--- PASS: TestMutexExcludes (0.02s) +--- PASS: TestCanLockExistingFile (0.02s) --- PASS: TestReadWaitsForLock (0.02s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 0.088s +ok github.com/rogpeppe/go-internal/lockedfile 0.143s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2612,62 +2656,63 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:191: fd 7 = /tmp/TestLockNotDroppedByExecCommand3077484885 + filelock_test.go:191: fd 7 = /tmp/TestLockNotDroppedByExecCommand534248290 filelock_test.go:194: Lock(fd 7) = - filelock_test.go:196: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand3077484885") + filelock_test.go:196: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand534248290") filelock_test.go:207: Lock(fd 8) is blocked (as expected) filelock_test.go:208: Unlock(fd 7) = asm_arm.s:831: Lock(fd 8) = filelock_test.go:210: Unlock(fd 8) = ---- PASS: TestLockNotDroppedByExecCommand (0.02s) +--- PASS: TestLockNotDroppedByExecCommand (0.04s) +=== CONT TestLockExcludesLock + filelock_test.go:125: fd 7 = /tmp/TestLockExcludesLock835522304 +=== CONT TestRLockExcludesOnlyLock === CONT TestLockExcludesLock - filelock_test.go:125: fd 7 = /tmp/TestLockExcludesLock3050843664 - filelock_test.go:128: fd 8 = os.Open("/tmp/TestLockExcludesLock3050843664") + filelock_test.go:128: fd 8 = os.Open("/tmp/TestLockExcludesLock835522304") filelock_test.go:131: Lock(fd 7) = === CONT TestRLockExcludesOnlyLock + filelock_test.go:157: fd 9 = /tmp/TestRLockExcludesOnlyLock1425880457 === CONT TestLockExcludesRLock + filelock_test.go:141: fd 10 = /tmp/TestLockExcludesRLock880737495 + filelock_test.go:144: fd 11 = os.Open("/tmp/TestLockExcludesRLock880737495") + filelock_test.go:147: Lock(fd 10) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:157: fd 9 = /tmp/TestRLockExcludesOnlyLock2594091824 filelock_test.go:159: RLock(fd 9) = - filelock_test.go:161: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock2594091824") - filelock_test.go:173: RLock(fd 11) = -=== CONT TestLockExcludesRLock - filelock_test.go:141: fd 10 = /tmp/TestLockExcludesRLock2660853923 -=== CONT TestRLockExcludesOnlyLock - filelock_test.go:176: fd 12 = os.Open("/tmp/TestRLockExcludesOnlyLock2594091824") -=== CONT TestLockExcludesRLock - filelock_test.go:144: fd 13 = os.Open("/tmp/TestLockExcludesRLock2660853923") - filelock_test.go:147: Lock(fd 10) = + filelock_test.go:161: fd 12 = os.Open("/tmp/TestRLockExcludesOnlyLock1425880457") + filelock_test.go:173: RLock(fd 12) = + filelock_test.go:176: fd 13 = os.Open("/tmp/TestRLockExcludesOnlyLock1425880457") === CONT TestLockExcludesLock filelock_test.go:132: Lock(fd 8) is blocked (as expected) filelock_test.go:133: Unlock(fd 7) = - asm_arm.s:831: Lock(fd 8) = - filelock_test.go:135: Unlock(fd 8) = ---- PASS: TestLockExcludesLock (0.01s) === CONT TestLockExcludesRLock - filelock_test.go:148: RLock(fd 13) is blocked (as expected) + filelock_test.go:148: RLock(fd 11) is blocked (as expected) filelock_test.go:149: Unlock(fd 10) = -=== CONT TestRLockExcludesOnlyLock - filelock_test.go:178: Lock(fd 12) is blocked (as expected) + asm_arm.s:831: RLock(fd 11) = +=== CONT TestLockExcludesLock + asm_arm.s:831: Lock(fd 8) = === CONT TestLockExcludesRLock - asm_arm.s:831: RLock(fd 13) = - filelock_test.go:151: Unlock(fd 13) = + filelock_test.go:151: Unlock(fd 11) = +=== CONT TestRLockExcludesOnlyLock + filelock_test.go:178: Lock(fd 13) is blocked (as expected) + filelock_test.go:180: Unlock(fd 12) = +--- PASS: TestLockExcludesRLock (0.02s) +=== CONT TestLockExcludesLock + filelock_test.go:135: Unlock(fd 8) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:180: Unlock(fd 11) = filelock_test.go:182: Unlock(fd 9) = ---- PASS: TestLockExcludesRLock (0.01s) +--- PASS: TestLockExcludesLock (0.02s) === CONT TestRLockExcludesOnlyLock - asm_arm.s:831: Lock(fd 12) = - filelock_test.go:185: Unlock(fd 12) = ---- PASS: TestRLockExcludesOnlyLock (0.01s) + asm_arm.s:831: Lock(fd 13) = + filelock_test.go:185: Unlock(fd 13) = +--- PASS: TestRLockExcludesOnlyLock (0.02s) PASS -ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.033s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.122s === RUN TestPrintGolden ---- PASS: TestPrintGolden (0.00s) +--- PASS: TestPrintGolden (0.03s) === RUN TestParseLax --- PASS: TestParseLax (0.00s) === RUN TestPrintParse ---- PASS: TestPrintParse (0.00s) +--- PASS: TestPrintParse (0.04s) === RUN TestModulePath === RUN TestModulePath/module_"github.com/rsc/vgotest" === RUN TestModulePath/module_github.com/rsc/vgotest @@ -2696,7 +2741,7 @@ === RUN TestModulePath/module___ === RUN TestModulePath/module_"__a/b/c__" === RUN TestModulePath/module_"github.com/rsc/vgotest1"_//_with_a_comment ---- PASS: TestModulePath (0.00s) +--- PASS: TestModulePath (0.02s) --- PASS: TestModulePath/module_"github.com/rsc/vgotest" (0.00s) --- PASS: TestModulePath/module_github.com/rsc/vgotest (0.00s) --- PASS: TestModulePath/module__"github.com/rsc/vgotest" (0.00s) @@ -2741,7 +2786,7 @@ --- PASS: TestAddRequire/#1 (0.00s) --- PASS: TestAddRequire/#2 (0.00s) PASS -ok github.com/rogpeppe/go-internal/modfile 0.018s +ok github.com/rogpeppe/go-internal/modfile 0.151s === RUN TestCheck --- PASS: TestCheck (0.00s) === RUN TestCheckPath @@ -2753,15 +2798,15 @@ === RUN TestDecodePath --- PASS: TestDecodePath (0.00s) PASS -ok github.com/rogpeppe/go-internal/module 0.007s +ok github.com/rogpeppe/go-internal/module 0.040s === RUN TestWork ---- PASS: TestWork (0.04s) +--- PASS: TestWork (0.21s) === RUN TestWorkParallel ---- PASS: TestWorkParallel (0.00s) +--- PASS: TestWorkParallel (0.02s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.060s +ok github.com/rogpeppe/go-internal/par 0.289s ? github.com/rogpeppe/go-internal/renameio [no test files] === RUN TestIsValid --- PASS: TestIsValid (0.00s) @@ -2780,7 +2825,7 @@ === RUN TestMax --- PASS: TestMax (0.00s) PASS -ok github.com/rogpeppe/go-internal/semver 0.007s +ok github.com/rogpeppe/go-internal/semver 0.030s ? github.com/rogpeppe/go-internal/testenv [no test files] === RUN TestCRLFInput === RUN TestCRLFInput/_ @@ -2788,7 +2833,7 @@ === PAUSE TestCRLFInput/_/script === CONT TestCRLFInput/_/script testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2801,9 +2846,9 @@ > exists output.txt PASS ---- PASS: TestCRLFInput (0.00s) +--- PASS: TestCRLFInput (0.01s) --- PASS: TestCRLFInput/_ (0.00s) - --- PASS: TestCRLFInput/_/script (0.00s) + --- PASS: TestCRLFInput/_/script (0.01s) === RUN TestEnv --- PASS: TestEnv (0.00s) === RUN TestScripts @@ -2864,11 +2909,10 @@ === RUN TestScripts/wait === PAUSE TestScripts/wait === CONT TestScripts/big_diff -=== CONT TestScripts/nothing -=== CONT TestScripts/evalsymlink +=== CONT TestScripts/wait === CONT TestScripts/nothing testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2882,10 +2926,11 @@ # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS -=== CONT TestScripts/wait -=== CONT TestScripts/long_diff +=== CONT TestScripts/values +=== CONT TestScripts/testscript_explicit_exec +=== CONT TestScripts/values testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2896,29 +2941,13 @@ exe= GONOSUMDB=* - # Verify the behaviour of cmp in the case of a small diff between - # two large files (0.002s) - > unquote dir/script.txt - > ! testscript dir - > env - WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GONOSUMDB=* - > cmpenv stdout stdout.golden + > test-values PASS -=== CONT TestScripts/interrupt +=== CONT TestScripts/stdin === CONT TestScripts/big_diff testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2930,12 +2959,12 @@ GONOSUMDB=* # Verify the behaviour of cmp in the case of a diff between two - # large files (with a large diff) (0.003s) + # large files (with a large diff) (0.019s) > unquote dir/script.txt > ! testscript dir > env WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2948,9 +2977,9 @@ > cmpenv stdout stdout.golden PASS -=== CONT TestScripts/values +=== CONT TestScripts/setupfiles testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2961,13 +2990,14 @@ exe= GONOSUMDB=* - > test-values + # check that the Setup function saw the unarchived files, + # including the temp directory that's always created. (0.000s) + > setup-filenames .tmp a b PASS -=== CONT TestScripts/testscript_update_script_stderr -=== CONT TestScripts/evalsymlink +=== CONT TestScripts/setenv testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2978,24 +3008,14 @@ exe= GONOSUMDB=* - # If ioutil.TempDir returns a sym linked dir (default behaviour in macOS for example) the - # matcher will have problems with external programs that uses the real path. - # This script tests that $WORK is matched in a consistent way (also see #79). (0.013s) - > [windows] skip - > exec pwd - [stdout] - $WORK - > stdout ^$WORK$ - > exec pwd -P - [stdout] - $WORK - > stdout ^$WORK$ + > setSpecialVal + > exists $SPECIALVAL.txt + > ensureSpecialVal PASS -=== CONT TestScripts/testscript_update_script_quote -=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/regexpquote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3006,15 +3026,14 @@ exe= GONOSUMDB=* - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt + > env XXX='hello)' + > grep ^${XXX@R}$ file.txt PASS -=== CONT TestScripts/interrupt +=== CONT TestScripts/readfile +=== CONT TestScripts/stdin testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3025,62 +3044,32 @@ exe= GONOSUMDB=* - > [windows] skip - > signalcatcher & - > waitfile catchsignal - > interrupt - > wait - [background] signalcatcher: exit status 0 + > [!exec:cat] skip + > stdin hello.txt + > exec cat [stdout] - caught interrupt - > stdout 'caught interrupt' - PASS - -=== CONT TestScripts/testscript_update_script_expected_not_in_archive -=== CONT TestScripts/testscript_update_script_actual_is_file - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GONOSUMDB=* + hello - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt - PASS + > stdout hello + > exec cat + > ! stdout hello + > [!exec:cat] stop + # Check that 'stdin stdout' works. (0.086s) + > exec cat hello.txt + [stdout] + hello -=== CONT TestScripts/testscript_update_script -=== CONT TestScripts/testscript_update_script_expected_not_in_archive - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GONOSUMDB=* + > stdin stdout + > exec cat + [stdout] + hello - # Verify that comparing stdout against a file not in the archive does nothing (0.007s) - > unquote scripts/testscript.txt - > cp scripts/testscript.txt unchanged - > ! testscript -update scripts - > cmp scripts/testscript.txt unchanged + > stdout hello PASS -=== CONT TestScripts/testscript_explicit_exec -=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/readfile testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3091,16 +3080,22 @@ exe= GONOSUMDB=* - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt + > fprintargs stdout stdout + [stdout] + stdout + > testreadfile stdout + > fprintargs stderr stderr + [stderr] + stderr + > testreadfile stderr + > testreadfile x/somefile PASS -=== CONT TestScripts/stdin +=== CONT TestScripts/evalsymlink +=== CONT TestScripts/long_diff === CONT TestScripts/wait testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3114,7 +3109,7 @@ > [!exec:echo] skip > [!exec:false] skip # TODO: the '\n' below doesn't work on Windows on Github Actions, which does - # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.018s) + # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.105s) > [windows] skip > exec echo foo [stdout] @@ -3126,7 +3121,7 @@ # Starting a background process should clear previous output. (0.000s) > ! stdout foo # Wait should set the output to the concatenated outputs of the background - # programs, in the order in which they were started. (0.022s) + # programs, in the order in which they were started. (0.093s) > wait [background] echo foo: exit status 0 [stdout] @@ -3159,33 +3154,16 @@ # We should be able to start several background processes and wait for them # individually. # The end of the test should interrupt or kill any remaining background - # programs. (0.002s) + # programs. (0.042s) > [!exec:sleep] skip > ! exec sleep 86400 & [background] sleep 86400: signal: interrupt PASS -=== CONT TestScripts/setupfiles - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GONOSUMDB=* - - # check that the Setup function saw the unarchived files, - # including the temp directory that's always created. (0.000s) - > setup-filenames .tmp a b - PASS - -=== CONT TestScripts/setenv +=== CONT TestScripts/interrupt +=== CONT TestScripts/testscript_explicit_exec testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3196,14 +3174,21 @@ exe= GONOSUMDB=* - > setSpecialVal - > exists $SPECIALVAL.txt - > ensureSpecialVal + # Check that RequireExplicitExec works; + # it should reject `fprintargs` in favor of `exec fprintargs`, + # but it shouldn't complain about `some-param-cmd`, + # as that Params.Cmds entry won't work via `exec some-param-cmd`. (0.254s) + > unquote scripts-implicit/testscript.txt + > unquote scripts-explicit/testscript.txt + > testscript scripts-implicit + > testscript scripts-explicit + > ! testscript -explicit-exec scripts-implicit + > testscript -explicit-exec scripts-explicit PASS -=== CONT TestScripts/regexpquote +=== CONT TestScripts/long_diff testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3214,14 +3199,13 @@ exe= GONOSUMDB=* - > env XXX='hello)' - > grep ^${XXX@R}$ file.txt - PASS - -=== CONT TestScripts/readfile -=== CONT TestScripts/testscript_update_script - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + # Verify the behaviour of cmp in the case of a small diff between + # two large files (0.041s) + > unquote dir/script.txt + > ! testscript dir + > env + WORK=$WORK + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3231,19 +3215,14 @@ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* - - # Check that we support both txt and txtar extensions. (0.026s) - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > cp scripts/testscript.txt scripts/testscript2.txtar - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt - > cmp scripts/testscript2.txtar testscript-new.txt + > cmpenv stdout stdout.golden PASS -=== CONT TestScripts/defer +=== CONT TestScripts/hello +=== CONT TestScripts/exists +=== CONT TestScripts/evalsymlink testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3254,15 +3233,24 @@ exe= GONOSUMDB=* - > testdefer - > testdefer - > testdefer + # If ioutil.TempDir returns a sym linked dir (default behaviour in macOS for example) the + # matcher will have problems with external programs that uses the real path. + # This script tests that $WORK is matched in a consistent way (also see #79). (0.076s) + > [windows] skip + > exec pwd + [stdout] + $WORK + > stdout ^$WORK$ + > exec pwd -P + [stdout] + $WORK + > stdout ^$WORK$ PASS -=== CONT TestScripts/cpstdout -=== CONT TestScripts/stdin +=== CONT TestScripts/execguard +=== CONT TestScripts/exists testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3273,33 +3261,19 @@ exe= GONOSUMDB=* - > [!exec:cat] skip - > stdin hello.txt - > exec cat - [stdout] - hello - - > stdout hello - > exec cat - > ! stdout hello - > [!exec:cat] stop - # Check that 'stdin stdout' works. (0.024s) - > exec cat hello.txt - [stdout] - hello - - > stdin stdout - > exec cat - [stdout] - hello - - > stdout hello + > chmod 444 foo_r + > exists foo + > ! exists unfoo + # TODO The following line fails but probably should not. + # ! exists -readonly foo (0.000s) + > exists foo_r + > exists -readonly foo_r PASS -=== CONT TestScripts/cond -=== CONT TestScripts/cpstdout +=== CONT TestScripts/exec_path_change +=== CONT TestScripts/hello testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3311,23 +3285,17 @@ GONOSUMDB=* > [!exec:cat] stop - # hello world (0.005s) + # hello world (0.057s) > exec cat hello.text [stdout] hello world - > cp stdout got - > cmp got hello.text - > ! cmp got different.text - > exists got - > mv got new - > ! exists got - > cmp new hello.text + > stdout 'hello world\n' + > ! stderr . PASS -=== CONT TestScripts/commandstatus === CONT TestScripts/cond testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3338,30 +3306,29 @@ exe= GONOSUMDB=* - # test that exactly one of gc and gccgo is set (0.000s) + # test that exactly one of gc and gccgo is set (0.001s) > [gc] mkdir gc_true > [gccgo] mkdir gccgo_true > [gc] ! exists gccgo_true > [!gc] exists gccgo_true > [gccgo] ! exists gc_true > [!gccgo] exists gc_true - # test that go version build tags are set (0.000s) + # test that go version build tags are set (0.001s) > [go1.1] mkdir go1.x > [go2.1] mkdir go2.x > exists go1.x > ! exists go2.x # unix should be true on Linux and MacOS, but not on Windows. - # Both platforms are tested on CI. (0.000s) + # Both platforms are tested on CI. (0.001s) > [unix] mkdir unix_true > [linux] exists unix_true > [darwin] exists unix_true > [windows] ! exists unix_true PASS -=== CONT TestScripts/command -=== CONT TestScripts/testscript_explicit_exec +=== CONT TestScripts/interrupt testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3372,21 +3339,21 @@ exe= GONOSUMDB=* - # Check that RequireExplicitExec works; - # it should reject `fprintargs` in favor of `exec fprintargs`, - # but it shouldn't complain about `some-param-cmd`, - # as that Params.Cmds entry won't work via `exec some-param-cmd`. (0.047s) - > unquote scripts-implicit/testscript.txt - > unquote scripts-explicit/testscript.txt - > testscript scripts-implicit - > testscript scripts-explicit - > ! testscript -explicit-exec scripts-implicit - > testscript -explicit-exec scripts-explicit + > [windows] skip + > signalcatcher & + > waitfile catchsignal + > interrupt + > wait + [background] signalcatcher: exit status 0 + [stdout] + caught interrupt + > stdout 'caught interrupt' PASS -=== CONT TestScripts/readfile +=== CONT TestScripts/defer +=== CONT TestScripts/execguard testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3397,22 +3364,18 @@ exe= GONOSUMDB=* - > fprintargs stdout stdout + > [exec:nosuchcommand] exec nosuchcommand + > [!exec:cat] stop + > exec cat foo [stdout] - stdout - > testreadfile stdout - > fprintargs stderr stderr - [stderr] - stderr - > testreadfile stderr - > testreadfile x/somefile + foo + > stdout 'foo\n' PASS -=== CONT TestScripts/cmpenv -=== CONT TestScripts/hello -=== CONT TestScripts/cmpenv +=== CONT TestScripts/cpstdout +=== CONT TestScripts/defer testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3423,13 +3386,16 @@ exe= GONOSUMDB=* - > env $=$ - > cmpenv file1 file2 + > testdefer + > testdefer + > testdefer PASS -=== CONT TestScripts/exists +=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/cpstdout testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3440,19 +3406,24 @@ exe= GONOSUMDB=* - > chmod 444 foo_r - > exists foo - > ! exists unfoo - # TODO The following line fails but probably should not. - # ! exists -readonly foo (0.000s) - > exists foo_r - > exists -readonly foo_r + > [!exec:cat] stop + # hello world (0.034s) + > exec cat hello.text + [stdout] + hello world + > cp stdout got + > cmp got hello.text + > ! cmp got different.text + > exists got + > mv got new + > ! exists got + > cmp new hello.text PASS -=== CONT TestScripts/execguard -=== CONT TestScripts/hello +=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/testscript_update_script_stderr testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3463,19 +3434,16 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.003s) - > exec cat hello.text - [stdout] - hello world - > stdout 'hello world\n' - > ! stderr . + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/exec_path_change -=== CONT TestScripts/execguard +=== CONT TestScripts/command +=== CONT TestScripts/testscript_update_script_expected_not_in_archive testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3486,17 +3454,17 @@ exe= GONOSUMDB=* - > [exec:nosuchcommand] exec nosuchcommand - > [!exec:cat] stop - > exec cat foo - [stdout] - foo - > stdout 'foo\n' + # Verify that comparing stdout against a file not in the archive does nothing (0.095s) + > unquote scripts/testscript.txt + > cp scripts/testscript.txt unchanged + > ! testscript -update scripts + > cmp scripts/testscript.txt unchanged PASS +=== CONT TestScripts/commandstatus === CONT TestScripts/command testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3513,9 +3481,66 @@ > stdout '\["printargs" "a" "b" "c d"\]\n' PASS +=== CONT TestScripts/cmpenv + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GONOSUMDB=* + + > env $=$ + > cmpenv file1 file2 + PASS + +=== CONT TestScripts/testscript_update_script_actual_is_file +=== CONT TestScripts/testscript_update_script_quote + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GONOSUMDB=* + + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt + PASS + +=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/testscript_update_script_actual_is_file + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GONOSUMDB=* + + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt + PASS + === CONT TestScripts/commandstatus testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3533,9 +3558,31 @@ > status 0 PASS +=== CONT TestScripts/testscript_update_script + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GONOSUMDB=* + + # Check that we support both txt and txtar extensions. (0.126s) + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > cp scripts/testscript.txt scripts/testscript2.txtar + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt + > cmp scripts/testscript2.txtar testscript-new.txt + PASS + === CONT TestScripts/exec_path_change testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3547,7 +3594,7 @@ GONOSUMDB=* # If the PATH environment variable is set in the testscript.Params.Setup phase - # or set directly within a script, exec should honour that PATH (0.682s) + # or set directly within a script, exec should honour that PATH (4.282s) > [!exec:go] skip > env HOME=$WORK${/}home > [windows] env USERPROFILE=$WORK\home @@ -3566,44 +3613,44 @@ > stdout 'This is not go' PASS ---- PASS: TestScripts (0.00s) +--- PASS: TestScripts (0.01s) --- PASS: TestScripts/nothing (0.00s) - --- PASS: TestScripts/long_diff (0.00s) - --- PASS: TestScripts/big_diff (0.01s) - --- PASS: TestScripts/values (0.00s) - --- PASS: TestScripts/evalsymlink (0.01s) - --- PASS: TestScripts/interrupt (0.02s) - --- PASS: TestScripts/testscript_update_script_stderr (0.02s) - --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.01s) - --- PASS: TestScripts/testscript_update_script_quote (0.02s) - --- PASS: TestScripts/wait (0.04s) - --- PASS: TestScripts/setupfiles (0.00s) - --- PASS: TestScripts/setenv (0.00s) - --- PASS: TestScripts/regexpquote (0.00s) - --- PASS: TestScripts/testscript_update_script (0.03s) - --- PASS: TestScripts/defer (0.00s) - --- PASS: TestScripts/stdin (0.04s) - --- PASS: TestScripts/cpstdout (0.01s) - --- PASS: TestScripts/cond (0.00s) - --- PASS: TestScripts/readfile (0.03s) - --- PASS: TestScripts/testscript_explicit_exec (0.05s) - --- PASS: TestScripts/cmpenv (0.00s) - --- PASS: TestScripts/exists (0.00s) - --- PASS: TestScripts/hello (0.00s) - --- PASS: TestScripts/execguard (0.00s) - --- PASS: TestScripts/command (0.01s) - --- PASS: TestScripts/commandstatus (0.03s) - --- PASS: TestScripts/exec_path_change (0.73s) + --- PASS: TestScripts/values (0.01s) + --- PASS: TestScripts/big_diff (0.04s) + --- PASS: TestScripts/setupfiles (0.01s) + --- PASS: TestScripts/setenv (0.01s) + --- PASS: TestScripts/regexpquote (0.01s) + --- PASS: TestScripts/stdin (0.21s) + --- PASS: TestScripts/readfile (0.17s) + --- PASS: TestScripts/wait (0.25s) + --- PASS: TestScripts/long_diff (0.05s) + --- PASS: TestScripts/testscript_explicit_exec (0.28s) + --- PASS: TestScripts/evalsymlink (0.09s) + --- PASS: TestScripts/exists (0.04s) + --- PASS: TestScripts/hello (0.08s) + --- PASS: TestScripts/interrupt (0.12s) + --- PASS: TestScripts/execguard (0.06s) + --- PASS: TestScripts/cond (0.03s) + --- PASS: TestScripts/defer (0.02s) + --- PASS: TestScripts/cpstdout (0.06s) + --- PASS: TestScripts/testscript_update_script_stderr (0.08s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.11s) + --- PASS: TestScripts/command (0.06s) + --- PASS: TestScripts/cmpenv (0.03s) + --- PASS: TestScripts/testscript_update_script_quote (0.15s) + --- PASS: TestScripts/testscript_update_script_actual_is_file (0.08s) + --- PASS: TestScripts/commandstatus (0.14s) + --- PASS: TestScripts/testscript_update_script (0.14s) + --- PASS: TestScripts/exec_path_change (4.57s) === RUN TestTestwork ---- PASS: TestTestwork (5.63s) +--- PASS: TestTestwork (26.14s) === RUN TestWorkdirRoot === RUN TestWorkdirRoot/run_tests === RUN TestWorkdirRoot/run_tests/nothing === PAUSE TestWorkdirRoot/run_tests/nothing === CONT TestWorkdirRoot/run_tests/nothing - testscript.go:429: WORK=/tmp/3260603599/script-nothing - PATH=/tmp/testscript-main1978111288/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + testscript.go:429: WORK=/tmp/3300114903/script-nothing + PATH=/tmp/testscript-main159682898/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3616,7 +3663,7 @@ # Intentionally empty test script; used to test Params.WorkdirRoot (0.000s) PASS ---- PASS: TestWorkdirRoot (0.00s) +--- PASS: TestWorkdirRoot (0.01s) --- PASS: TestWorkdirRoot/run_tests (0.00s) --- PASS: TestWorkdirRoot/run_tests/nothing (0.00s) === RUN TestBadDir @@ -3624,7 +3671,7 @@ === RUN TestUNIX2DOS --- PASS: TestUNIX2DOS (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 6.451s +ok github.com/rogpeppe/go-internal/testscript 31.112s === RUN Test === RUN Test/basic === RUN Test/basic#01 @@ -3636,7 +3683,7 @@ === RUN TestUnquote === RUN TestUnquote/no_final_newline === RUN TestUnquote/no_initial_> ---- PASS: TestUnquote (0.00s) +--- PASS: TestUnquote (0.01s) --- PASS: TestUnquote/no_final_newline (0.00s) --- PASS: TestUnquote/no_initial_> (0.00s) === RUN TestQuote @@ -3652,7 +3699,7 @@ --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.014s +ok github.com/rogpeppe/go-internal/txtar 0.063s patch -R -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch patching file _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go Hunk #1 succeeded at 785 (offset 50 lines). @@ -3674,9 +3721,9 @@ dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_strip -a -O--builddirectory=_build -O--buildsystem=golang -dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-c dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-addmod dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-x +dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-c dh_makeshlibs -a -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -a -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang @@ -3696,12 +3743,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/17540/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/13420 and its subdirectories -I: Current time: Wed May 3 07:16:11 -12 2023 -I: pbuilder-time-stamp: 1683141371 +I: removing directory /srv/workspace/pbuilder/17540 and its subdirectories +I: Current time: Thu May 4 09:25:57 +14 2023 +I: pbuilder-time-stamp: 1683141957