Diff of the two buildlogs: -- --- b1/build.log 2025-09-27 14:24:08.700532572 +0000 +++ b2/build.log 2025-09-27 14:28:20.228840306 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 30 08:45:35 -12 2026 -I: pbuilder-time-stamp: 1793393135 +I: Current time: Sun Sep 28 04:24:11 +14 2025 +I: pbuilder-time-stamp: 1758983051 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -22,53 +22,85 @@ dpkg-source: info: unpacking golang-github-rogpeppe-go-internal_1.14.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3414204/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/798290/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Sep 27 14:24 /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/798290/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/798290/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='2c67d93557664037a4dcdfd2b603f4d4' - 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='3414204' - PS1='# ' - PS2='> ' + INVOCATION_ID=934abb84af9149d88a0a96e9879e326f + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=798290 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.KwMxdesM/pbuilderrc_tBKI --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KwMxdesM/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.14.1-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.KwMxdesM/pbuilderrc_mzg3 --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KwMxdesM/b2 --logfile b2/build.log golang-github-rogpeppe-go-internal_1.14.1-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3414204/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/798290/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -164,7 +196,7 @@ Get: 46 http://deb.debian.org/debian forky/main arm64 golang-golang-x-net-dev all 1:0.27.0-2 [904 kB] Get: 47 http://deb.debian.org/debian forky/main arm64 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 48 http://deb.debian.org/debian forky/main arm64 golang-golang-x-tools-dev all 1:0.25.0+ds-1 [1608 kB] -Fetched 69.4 MB in 1s (126 MB/s) +Fetched 69.4 MB in 1s (120 MB/s) Preconfiguring packages ... 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 ... 20020 files and directories currently installed.) @@ -378,7 +410,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/ && 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.14.1-1_source.changes +I: user script /srv/workspace/pbuilder/798290/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/798290/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/ && 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.14.1-1_source.changes dpkg-buildpackage: info: source package golang-github-rogpeppe-go-internal dpkg-buildpackage: info: source version 1.14.1-1 dpkg-buildpackage: info: source distribution unstable @@ -397,36 +433,35 @@ 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 12 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/diff 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/misspell github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll 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/robustio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/testscript/internal/pty github.com/rogpeppe/go-internal/txtar -internal/profilerecord -internal/byteorder -internal/msan -internal/asan -internal/godebugs internal/goarch internal/goos -internal/cpu internal/unsafeheader -internal/coverage/rtcov +internal/byteorder internal/goexperiment -internal/runtime/syscall sync/atomic +internal/asan +internal/cpu math/bits unicode -unicode/utf8 +internal/godebugs internal/abi internal/runtime/math +internal/coverage/rtcov +internal/runtime/syscall +internal/profilerecord +internal/msan +unicode/utf8 internal/chacha8rand crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder -internal/itoa crypto/internal/fips140/subtle +internal/itoa cmp crypto/internal/boring/sig log/internal encoding unicode/utf16 internal/nettrace -math container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias @@ -434,146 +469,147 @@ internal/goversion internal/platform internal/syslist -internal/bytealg +github.com/rogpeppe/go-internal/internal/syscall/windows +github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll internal/runtime/atomic internal/runtime/sys +internal/bytealg crypto/internal/fips140deps/cpu -github.com/rogpeppe/go-internal/internal/syscall/windows -github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll +math internal/runtime/exithook internal/stringslite internal/race -internal/sync internal/runtime/maps +internal/sync runtime -internal/reflectlite -iter sync +iter crypto/subtle +internal/reflectlite weak -maps slices +maps +internal/testlog +internal/singleflight +unique +internal/bisect errors sort -internal/oserror +runtime/cgo +io +strconv path vendor/golang.org/x/net/dns/dnsmessage +internal/oserror math/rand/v2 -strconv -io -internal/testlog -internal/bisect -internal/singleflight -syscall -unique -runtime/cgo +internal/godebug bytes hash -internal/godebug strings -crypto +syscall +hash/crc32 crypto/internal/randutil -crypto/internal/fips140deps/godebug golang.org/x/mod/semver +crypto/internal/fips140deps/godebug math/rand +crypto reflect -hash/crc32 +net/netip +vendor/golang.org/x/text/transform +github.com/rogpeppe/go-internal/semver +crypto/internal/fips140 crypto/internal/impl bufio +net/http/internal/ascii +go/build/constraint regexp/syntax -vendor/golang.org/x/text/transform -crypto/internal/fips140 -net/netip crypto/internal/fips140/sha3 crypto/tls/internal/fips140tls -net/http/internal/ascii +github.com/rogpeppe/go-internal/par crypto/internal/fips140/sha256 crypto/internal/fips140/sha512 -go/build/constraint -github.com/rogpeppe/go-internal/par -github.com/rogpeppe/go-internal/semver -crypto/internal/fips140/hmac -crypto/sha3 -internal/syscall/unix time internal/syscall/execenv +internal/syscall/unix +crypto/internal/fips140/hmac +crypto/sha3 crypto/internal/fips140/check -crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod +crypto/internal/fips140/aes crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 -crypto/internal/fips140hash crypto/internal/fips140/tls13 -crypto/internal/fips140/edwards25519 +crypto/internal/fips140hash regexp -io/fs +crypto/internal/fips140/edwards25519 context +io/fs internal/poll internal/filepathlite crypto/internal/fips140/nistec -os internal/fmtsort -github.com/rogpeppe/go-internal/fmtsort encoding/binary +github.com/rogpeppe/go-internal/fmtsort +os encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 encoding/pem crypto/internal/sysrand +golang.org/x/mod/internal/lazyregexp fmt github.com/rogpeppe/go-internal/lockedfile/internal/filelock path/filepath -golang.org/x/mod/internal/lazyregexp +internal/sysinfo internal/lazyregexp github.com/rogpeppe/go-internal/robustio -internal/sysinfo net crypto/internal/entropy crypto/internal/fips140/drbg -crypto/internal/fips140/ecdh -crypto/internal/fips140/ed25519 +github.com/rogpeppe/go-internal/renameio +os/exec crypto/internal/fips140/aes/gcm -crypto/internal/fips140/ecdsa crypto/internal/fips140only -crypto/internal/fips140/mlkem +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +crypto/internal/fips140/ed25519 crypto/internal/fips140/rsa -github.com/rogpeppe/go-internal/renameio -os/exec -crypto/md5 +crypto/internal/fips140/mlkem crypto/rc4 +crypto/md5 crypto/cipher github.com/rogpeppe/go-internal/internal/os/execpath internal/goroot -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 -encoding/hex github.com/rogpeppe/go-internal/lockedfile log flag +compress/flate +encoding/json +encoding/hex golang.org/x/mod/module +crypto/internal/boring golang.org/x/tools/txtar -encoding/json -compress/flate -crypto/sha256 math/big +crypto/des +vendor/golang.org/x/crypto/chacha20 +crypto/sha256 crypto/aes crypto/ecdh crypto/sha512 crypto/hmac -vendor/golang.org/x/crypto/chacha20poly1305 crypto/sha1 net/url -vendor/golang.org/x/text/unicode/bidi -github.com/rogpeppe/go-internal/cache vendor/golang.org/x/text/unicode/norm +github.com/rogpeppe/go-internal/cache +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack mime -mime/quotedprintable -net/http/internal archive/zip compress/gzip +mime/quotedprintable +net/http/internal runtime/debug runtime/trace github.com/rogpeppe/go-internal/diff @@ -581,40 +617,40 @@ github.com/rogpeppe/go-internal/testscript/internal/pty github.com/rogpeppe/go-internal/txtar go/token +testing go/doc/comment internal/buildcfg -vendor/golang.org/x/text/secure/bidirule github.com/rogpeppe/go-internal/cmd/txtar-addmod -testing go/scanner +vendor/golang.org/x/text/secure/bidirule github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-x +vendor/golang.org/x/net/idna golang.org/x/mod/modfile go/ast github.com/rogpeppe/go-internal/module -vendor/golang.org/x/net/idna golang.org/x/mod/sumdb/dirhash github.com/rogpeppe/go-internal/dirhash -crypto/rand -crypto/dsa +crypto/elliptic crypto/internal/boring/bbig +crypto/dsa +crypto/rand encoding/asn1 -crypto/elliptic +crypto/ed25519 crypto/internal/hpke crypto/rsa -crypto/ed25519 github.com/rogpeppe/go-internal/modfile -go/parser -go/doc +github.com/rogpeppe/go-internal/testenv vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/rogpeppe/go-internal/testenv +go/doc +go/parser crypto/ecdsa go/build github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/gotooltest -vendor/golang.org/x/net/http/httpproxy net/textproto +vendor/golang.org/x/net/http/httpproxy crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart @@ -622,8 +658,8 @@ net/http/httptrace net/http github.com/rogpeppe/go-internal/goproxytest -github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-goproxy +github.com/rogpeppe/go-internal/cmd/testscript debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1' patch -N -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch @@ -632,24 +668,24 @@ GOPROXY= dh_auto_test cd _build && go test -vet=off -v -p 12 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/diff 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/misspell github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll 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/robustio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/testscript/internal/pty github.com/rogpeppe/go-internal/txtar === RUN TestBasic ---- PASS: TestBasic (0.00s) +--- PASS: TestBasic (0.02s) === RUN TestGrowth ---- PASS: TestGrowth (0.55s) +--- PASS: TestGrowth (2.15s) === RUN TestVerifyPanic cache_test.go:138: go: internal cache error: cache verify failed: id=0100000000000000000000000000000000000000000000000000000000000000 changed:<<< >>> old: cb8379ac2098aa165029e3938a51da0bcecfc008fd6795f401178647f96c5b34 3 new: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad 3 ---- PASS: TestVerifyPanic (0.00s) +--- PASS: TestVerifyPanic (0.02s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.01s) +--- PASS: TestCacheTrim (0.02s) === RUN TestHash --- PASS: TestHash (0.00s) === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 0.574s +ok github.com/rogpeppe/go-internal/cache 2.235s === RUN TestScripts === RUN TestScripts/continue === PAUSE TestScripts/continue @@ -680,18 +716,18 @@ === CONT TestScripts/continue === CONT TestScripts/nogo === CONT TestScripts/skip -=== CONT TestScripts/simple -=== CONT TestScripts/noproxy -=== CONT TestScripts/error === CONT TestScripts/work -=== CONT TestScripts/multi === CONT TestScripts/help -=== CONT TestScripts/update === CONT TestScripts/env_var_no_go -=== CONT TestScripts/env_values +=== CONT TestScripts/error +=== CONT TestScripts/multi +=== CONT TestScripts/env_var_with_go +=== CONT TestScripts/simple +=== CONT TestScripts/noproxy +=== CONT TestScripts/update === NAME TestScripts/nogo testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -714,12 +750,12 @@ # should support skip (0.000s) > 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.044s) + # contains the command names, so use a special builtin instead. (0.069s) > dropgofrompath > ! testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -737,10 +773,9 @@ > stdout 'unknown command "go"' PASS -=== CONT TestScripts/env_var_with_go === NAME TestScripts/help testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -760,7 +795,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.019s) + # Simply sanity check on help output (0.062s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -890,9 +925,10 @@ > stderr 'Examples' PASS +=== CONT TestScripts/env_values === NAME TestScripts/env_var_no_go testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -921,11 +957,11 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.009s) + # no GOPROXY, no pass-through, no proxy (0.062s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -946,11 +982,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.010s) + # no GOPROXY, no pass-through, with proxy (0.062s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -959,7 +995,7 @@ :=: $=$ exe= - GOPROXY=http://127.0.0.1:44903/mod + GOPROXY=http://127.0.0.1:38153/mod GONOSUMDB=* > env BANANA @@ -967,17 +1003,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:44903/mod + GOPROXY=http://127.0.0.1:38153/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.010s) + # no GOPROXY, with pass-through, no proxy (0.015s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1001,11 +1037,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.009s) + # no GOPROXY, with pass-through, with proxy (0.017s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1031,11 +1067,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.006s) + # with GOPROXY, no pass-through, no proxy (0.050s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1056,11 +1092,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.008s) + # with GOPROXY, no pass-through, with proxy (0.022s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1069,7 +1105,7 @@ :=: $=$ exe= - GOPROXY=http://127.0.0.1:42689/mod + GOPROXY=http://127.0.0.1:46247/mod GONOSUMDB=* > env BANANA @@ -1077,17 +1113,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:42689/mod + GOPROXY=http://127.0.0.1:46247/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.006s) + # with GOPROXY, with pass-through, no proxy (0.009s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1111,11 +1147,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.007s) + # with GOPROXY, with pass-through, with proxy (0.008s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1142,9 +1178,9 @@ > ! stderr .+ PASS -=== NAME TestScripts/continue +=== NAME TestScripts/work testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1164,30 +1200,19 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support -continue (0.000s) - > unquote file.txt - # Running with continue, the testscript command itself - # should fail, but we should see the results of executing - # both commands. (0.198s) - > ! testscript -continue file.txt + # Test that passing -work leaves behind the working directory + # that contains the temporary directories within which the + # script arguments are expanded. + # + # 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.387s) + > unquote file.txt dir/file.txt + > testscript -v -work file.txt dir/file.txt [stdout] - > grep banana in - [in] - apple - - FAIL: file.txt:1: no match for `banana` found in in - > grep apple in - [stderr] - failed run - [exit status 1] - > stdout 'grep banana in' - > stdout 'no match for `banana` found in in' - > stdout 'grep apple in' - PASS - -=== NAME TestScripts/update - testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + temporary work directory: $WORK/.tmp/go-test-script318757120/script-file + WORK=$WORK/.tmp/go-test-script318757120/script-file + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1204,31 +1229,12 @@ GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.24 - GOINTERNALMODPATH=. - GONOSUMDB=* - # should support the -update flag (0.000s) - > unquote in.txt res.txt - # Should be an error to use -u with only stdin (0.055s) - > stdin in.txt - > ! testscript -u - [stderr] - cannot use -u when reading from stdin - [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.143s) - > testscript -u - in.txt - [stdout] - PASS - PASS - in.txt updated - > cmp in.txt res.txt + > exec true PASS - -=== NAME TestScripts/multi - testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + temporary work directory: $WORK/.tmp/go-test-script318757120/script-file#1 + WORK=$WORK/.tmp/go-test-script318757120/script-file#1 + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1245,27 +1251,17 @@ GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.24 - GOINTERNALMODPATH=. - GONOSUMDB=* - # Check that all scripts are executed even when one fails. (0.199s) - > ! testscript a.txt b.txt - [stdout] - > exec false - [exit status 1] - FAIL: a.txt:1: unexpected command failure - > exec false - [exit status 1] - FAIL: b.txt:2: unexpected command failure - [stderr] - failed run - [exit status 1] - > cmp stdout want-stdout + > exec true + PASS + > stdout '^temporary work directory: \Q'$WORK'\E[/\\]\.tmp[/\\]' + > expandone $WORK/.tmp/go-test-script*/script-file/foo + > expandone $WORK/.tmp/go-test-script*/script-file#1/bar PASS -=== NAME TestScripts/noproxy +=== NAME TestScripts/skip testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1285,14 +1281,12 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. (0.201s) - > env GOPROXY=0.1.2.3 + # should support skip (0.391s) > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1307,66 +1301,21 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=0.1.2.3 + GOPROXY=https://proxy.golang.org,direct goversion=1.24 - > go env + > go version [stdout] - AR='ar' - CC='aarch64-linux-gnu-gcc' - CGO_CFLAGS='-O2 -g' - CGO_CPPFLAGS='' - CGO_CXXFLAGS='-O2 -g' - CGO_ENABLED='1' - CGO_FFLAGS='-O2 -g' - CGO_LDFLAGS='-O2 -g' - CXX='aarch64-linux-gnu-g++' - GCCGO='gccgo' - GO111MODULE='' - GOARCH='arm64' - GOARM64='v8.0' - GOAUTH='netrc' - GOBIN='' - GOCACHE='/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build' - GOCACHEPROG='' - GODEBUG='' - GOENV='/no-home/.config/go/env' - GOEXE='' - GOEXPERIMENT='' - GOFIPS140='off' - GOFLAGS='' - GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build1897739542=/tmp/go-build -gno-record-gcc-switches' - GOHOSTARCH='arm64' - GOHOSTOS='linux' - GOINSECURE='' - GOMOD='/dev/null' - GOMODCACHE='$WORK/.gopath/pkg/mod' - GONOPROXY='' - GONOSUMDB='' - GOOS='linux' - GOPATH='$WORK/.gopath' - GOPRIVATE='' - GOPROXY='0.1.2.3' - GOROOT='/usr/lib/go-1.24' - GOSUMDB='sum.golang.org' - GOTELEMETRY='local' - GOTELEMETRYDIR='/no-home/.config/go/telemetry' - GOTMPDIR='' - GOTOOLCHAIN='auto' - GOTOOLDIR='/usr/lib/go-1.24/pkg/tool/linux_arm64' - GOVCS='' - GOVERSION='go1.24.4' - GOWORK='' - PKG_CONFIG='pkg-config' + go version go1.24.4 linux/arm64 - > [!windows] stdout '^GOPROXY=''0.1.2.3''$' - > [windows] stdout '^set GOPROXY=0.1.2.3$' - PASS + > skip + > stdout 'go version' + > ! stderr .+ PASS -=== NAME TestScripts/skip +=== NAME TestScripts/update testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1386,12 +1335,28 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.211s) - > unquote file.txt - > testscript -v file.txt + # should support the -update flag (0.000s) + > unquote in.txt res.txt + # Should be an error to use -u with only stdin (0.026s) + > stdin in.txt + > ! testscript -u + [stderr] + cannot use -u when reading from stdin + [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.302s) + > testscript -u - in.txt [stdout] - WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PASS + PASS + in.txt updated + > cmp in.txt res.txt + PASS + +=== NAME TestScripts/continue + testscript.go:584: WORK=$WORK + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1408,19 +1373,33 @@ GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.24 + GOINTERNALMODPATH=. + GONOSUMDB=* - > go version + # should support -continue (0.000s) + > unquote file.txt + # Running with continue, the testscript command itself + # should fail, but we should see the results of executing + # both commands. (0.403s) + > ! testscript -continue file.txt [stdout] - go version go1.24.4 linux/arm64 + > grep banana in + [in] + apple - > skip - > stdout 'go version' - > ! stderr .+ + FAIL: file.txt:1: no match for `banana` found in in + > grep apple in + [stderr] + failed run + [exit status 1] + > stdout 'grep banana in' + > stdout 'no match for `banana` found in in' + > stdout 'grep apple in' PASS -=== NAME TestScripts/work +=== NAME TestScripts/multi testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1440,19 +1419,24 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Test that passing -work leaves behind the working directory - # that contains the temporary directories within which the - # script arguments are expanded. - # - # 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.223s) - > unquote file.txt dir/file.txt - > testscript -v -work file.txt dir/file.txt + # Check that all scripts are executed even when one fails. (0.415s) + > ! testscript a.txt b.txt [stdout] - temporary work directory: $WORK/.tmp/go-test-script876341550/script-file - WORK=$WORK/.tmp/go-test-script876341550/script-file - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + > exec false + [exit status 1] + FAIL: a.txt:1: unexpected command failure + > exec false + [exit status 1] + FAIL: b.txt:2: unexpected command failure + [stderr] + failed run + [exit status 1] + > cmp stdout want-stdout + PASS + +=== NAME TestScripts/noproxy + testscript.go:584: WORK=$WORK + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1469,12 +1453,17 @@ GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.24 + GOINTERNALMODPATH=. + GONOSUMDB=* - > exec true - PASS - temporary work directory: $WORK/.tmp/go-test-script876341550/script-file#1 - WORK=$WORK/.tmp/go-test-script876341550/script-file#1 - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + # With no .gomodproxy supporting files, we use the GOPROXY from + # the environment. (0.413s) + > env GOPROXY=0.1.2.3 + > unquote file.txt + > testscript -v file.txt + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1489,19 +1478,66 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=https://proxy.golang.org,direct + GOPROXY=0.1.2.3 goversion=1.24 - > exec true + > go env + [stdout] + AR='ar' + CC='aarch64-linux-gnu-gcc' + CGO_CFLAGS='-O2 -g' + CGO_CPPFLAGS='' + CGO_CXXFLAGS='-O2 -g' + CGO_ENABLED='1' + CGO_FFLAGS='-O2 -g' + CGO_LDFLAGS='-O2 -g' + CXX='aarch64-linux-gnu-g++' + GCCGO='gccgo' + GO111MODULE='' + GOARCH='arm64' + GOARM64='v8.0' + GOAUTH='netrc' + GOBIN='' + GOCACHE='/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build' + GOCACHEPROG='' + GODEBUG='' + GOENV='/no-home/.config/go/env' + GOEXE='' + GOEXPERIMENT='' + GOFIPS140='off' + GOFLAGS='' + GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build465545764=/tmp/go-build -gno-record-gcc-switches' + GOHOSTARCH='arm64' + GOHOSTOS='linux' + GOINSECURE='' + GOMOD='/dev/null' + GOMODCACHE='$WORK/.gopath/pkg/mod' + GONOPROXY='' + GONOSUMDB='' + GOOS='linux' + GOPATH='$WORK/.gopath' + GOPRIVATE='' + GOPROXY='0.1.2.3' + GOROOT='/usr/lib/go-1.24' + GOSUMDB='sum.golang.org' + GOTELEMETRY='local' + GOTELEMETRYDIR='/no-home/.config/go/telemetry' + GOTMPDIR='' + GOTOOLCHAIN='auto' + GOTOOLDIR='/usr/lib/go-1.24/pkg/tool/linux_arm64' + GOVCS='' + GOVERSION='go1.24.4' + GOWORK='' + PKG_CONFIG='pkg-config' + + > [!windows] stdout '^GOPROXY=''0.1.2.3''$' + > [windows] stdout '^set GOPROXY=0.1.2.3$' PASS - > stdout '^temporary work directory: \Q'$WORK'\E[/\\]\.tmp[/\\]' - > expandone $WORK/.tmp/go-test-script*/script-file/foo - > expandone $WORK/.tmp/go-test-script*/script-file#1/bar PASS === NAME TestScripts/simple testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1522,13 +1558,13 @@ GONOSUMDB=* # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (0.229s) + # environment should be overridden by the test proxy. (0.452s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1543,7 +1579,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:37833/mod + GOPROXY=http://127.0.0.1:36669/mod goversion=1.24 GONOSUMDB=* @@ -1571,7 +1607,7 @@ === NAME TestScripts/error testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1593,12 +1629,12 @@ # should support skip (0.000s) > unquote file.txt - # stdin (0.195s) + # stdin (0.366s) > stdin file.txt > ! testscript -v [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1623,11 +1659,11 @@ failed run [exit status 1] > stdout 'FAIL: :1: unexpected command failure' - # file-based (0.034s) + # file-based (0.160s) > ! testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1656,7 +1692,7 @@ === NAME TestScripts/env_values testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1680,13 +1716,13 @@ > unquote test.txt > env BLAH1= > env BLAH2=junk - # Normal operation (0.164s) + # Normal operation (0.344s) > 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.064s) + # of testscript, which has no concept of stderr. (0.132s) > ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt [stdout] FAIL: test.txt:0: cannot override WORK variable @@ -1698,7 +1734,7 @@ === NAME TestScripts/env_var_with_go testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1727,11 +1763,11 @@ # This is the counterpart to env_var_no_go.txt (0.000s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.155s) + # Baseline (0.345s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1763,11 +1799,11 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.037s) + # no GOPROXY, no pass-through, no proxy (0.172s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1796,11 +1832,11 @@ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.034s) + # no GOPROXY, no pass-through, with proxy (0.145s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1815,7 +1851,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:39017/mod + GOPROXY=http://127.0.0.1:35347/mod goversion=1.24 GONOSUMDB=* @@ -1824,17 +1860,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:39017/mod + GOPROXY=http://127.0.0.1:35347/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.033s) + # no GOPROXY, with pass-through, no proxy (0.181s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1864,11 +1900,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.038s) + # no GOPROXY, with pass-through, with proxy (0.186s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1900,11 +1936,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.035s) + # with GOPROXY, no pass-through, no proxy (0.168s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1933,11 +1969,11 @@ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.048s) + # with GOPROXY, no pass-through, with proxy (0.169s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1952,7 +1988,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:34295/mod + GOPROXY=http://127.0.0.1:36731/mod goversion=1.24 GONOSUMDB=* @@ -1961,17 +1997,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:34295/mod + GOPROXY=http://127.0.0.1:36731/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.050s) + # with GOPROXY, with pass-through, no proxy (0.162s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2001,11 +2037,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.056s) + # with GOPROXY, with pass-through, with proxy (0.128s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1908152310/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2728326035/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2038,22 +2074,22 @@ > ! stderr .+ PASS ---- PASS: TestScripts (0.06s) - --- PASS: TestScripts/nogo (0.04s) - --- PASS: TestScripts/help (0.05s) - --- PASS: TestScripts/env_var_no_go (0.10s) - --- PASS: TestScripts/continue (0.20s) - --- PASS: TestScripts/multi (0.20s) - --- PASS: TestScripts/update (0.20s) - --- PASS: TestScripts/noproxy (0.20s) - --- PASS: TestScripts/skip (0.21s) - --- PASS: TestScripts/work (0.22s) - --- PASS: TestScripts/simple (0.23s) - --- PASS: TestScripts/error (0.23s) - --- PASS: TestScripts/env_values (0.23s) - --- PASS: TestScripts/env_var_with_go (0.49s) +--- PASS: TestScripts (0.17s) + --- PASS: TestScripts/nogo (0.07s) + --- PASS: TestScripts/help (0.06s) + --- PASS: TestScripts/env_var_no_go (0.24s) + --- PASS: TestScripts/work (0.39s) + --- PASS: TestScripts/skip (0.39s) + --- PASS: TestScripts/update (0.33s) + --- PASS: TestScripts/continue (0.40s) + --- PASS: TestScripts/multi (0.42s) + --- PASS: TestScripts/noproxy (0.41s) + --- PASS: TestScripts/simple (0.46s) + --- PASS: TestScripts/error (0.53s) + --- PASS: TestScripts/env_values (0.48s) + --- PASS: TestScripts/env_var_with_go (1.71s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 0.608s +ok github.com/rogpeppe/go-internal/cmd/testscript 1.949s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -2064,11 +2100,11 @@ === CONT TestScripts/encode === CONT TestScripts/txtar-addmod-self === CONT TestScripts/to_stdout -2026/10/30 20:46:42 go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 -2026/10/30 20:46:42 go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 +2025/09/27 14:27:31 go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 +2025/09/27 14:27:31 go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 === NAME TestScripts/encode testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1601570900/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main415054194/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2083,7 +2119,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:38245/mod + GOPROXY=http://127.0.0.1:36579/mod goversion=1.24 GONOSUMDB=* @@ -2096,7 +2132,7 @@ === NAME TestScripts/to_stdout testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1601570900/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main415054194/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2111,7 +2147,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:38245/mod + GOPROXY=http://127.0.0.1:36579/mod goversion=1.24 GONOSUMDB=* @@ -2138,7 +2174,7 @@ === NAME TestScripts/txtar-addmod-self testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1601570900/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main415054194/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2153,7 +2189,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:38245/mod + GOPROXY=http://127.0.0.1:36579/mod goversion=1.24 GONOSUMDB=* @@ -2167,12 +2203,12 @@ > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar PASS ---- PASS: TestScripts (0.07s) - --- PASS: TestScripts/encode (0.04s) - --- PASS: TestScripts/to_stdout (0.07s) - --- PASS: TestScripts/txtar-addmod-self (0.17s) +--- PASS: TestScripts (0.12s) + --- PASS: TestScripts/encode (0.14s) + --- PASS: TestScripts/to_stdout (0.18s) + --- PASS: TestScripts/txtar-addmod-self (0.41s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.256s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.598s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -2183,12 +2219,36 @@ === RUN TestScripts/txtar-savedir-self === PAUSE TestScripts/txtar-savedir-self === CONT TestScripts/all -=== CONT TestScripts/quote === CONT TestScripts/needquote +=== CONT TestScripts/quote === CONT TestScripts/txtar-savedir-self +=== NAME TestScripts/needquote + testscript.go:584: WORK=$WORK + PATH=/tmp/testscript-main1678471611/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + GOTRACEBACK=system + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + exe= + + > unquote blah/withsep + > unquote expect + > txtar-c blah + [stdout] + -- nosep -- + bar + [stderr] + txtar-c: blah/withsep: ignoring file with txtar marker in + > stderr 'txtar-c: blah.withsep: ignoring file with txtar marker in' + > cmp stdout expect + PASS + === NAME TestScripts/quote testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1069393139/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1678471611/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2212,7 +2272,7 @@ === NAME TestScripts/txtar-savedir-self testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1069393139/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1678471611/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2242,33 +2302,9 @@ > cmp stdout expect PASS -=== NAME TestScripts/needquote - testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1069393139/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - GOTRACEBACK=system - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - exe= - - > unquote blah/withsep - > unquote expect - > txtar-c blah - [stdout] - -- nosep -- - bar - [stderr] - txtar-c: blah/withsep: ignoring file with txtar marker in - > stderr 'txtar-c: blah.withsep: ignoring file with txtar marker in' - > cmp stdout expect - PASS - === NAME TestScripts/all testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1069393139/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1678471611/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2280,7 +2316,7 @@ > unquote expect-all > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.004s) + # Without the -a flag, it should ignore . files. (0.022s) > txtar-c blah [stdout] -- go.mod -- @@ -2296,7 +2332,7 @@ } > ! stderr .+ > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.003s) + # With the -a flag, it should include them. (0.019s) > txtar-c -a blah [stdout] -- .foo/foo -- @@ -2319,12 +2355,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/quote (0.00s) - --- PASS: TestScripts/txtar-savedir-self (0.00s) - --- PASS: TestScripts/needquote (0.00s) - --- PASS: TestScripts/all (0.01s) + --- PASS: TestScripts/needquote (0.02s) + --- PASS: TestScripts/quote (0.02s) + --- PASS: TestScripts/txtar-savedir-self (0.04s) + --- PASS: TestScripts/all (0.04s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.015s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.062s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2336,12 +2372,12 @@ === RUN TestScripts/extract === PAUSE TestScripts/extract === CONT TestScripts/extract-dir -=== CONT TestScripts/extract-stdin === CONT TestScripts/extract +=== CONT TestScripts/extract-stdin === CONT TestScripts/extract-out-of-bounds === NAME TestScripts/extract-dir testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1742391189/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1562024951/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2359,7 +2395,7 @@ === NAME TestScripts/extract testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1742391189/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1562024951/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2377,7 +2413,7 @@ === NAME TestScripts/extract-stdin testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1742391189/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1562024951/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2396,7 +2432,7 @@ === NAME TestScripts/extract-out-of-bounds testscript.go:584: WORK=$WORK - PATH=/tmp/testscript-main1742391189/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1562024951/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2420,12 +2456,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/extract-dir (0.01s) - --- PASS: TestScripts/extract (0.01s) - --- PASS: TestScripts/extract-stdin (0.01s) - --- PASS: TestScripts/extract-out-of-bounds (0.01s) + --- PASS: TestScripts/extract-dir (0.02s) + --- PASS: TestScripts/extract (0.02s) + --- PASS: TestScripts/extract-stdin (0.02s) + --- PASS: TestScripts/extract-out-of-bounds (0.04s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.017s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.073s === RUN Test === RUN Test/allnew.txt === RUN Test/allold.txt @@ -2453,7 +2489,7 @@ --- PASS: Test/start.txt (0.00s) --- PASS: Test/triv.txt (0.00s) PASS -ok github.com/rogpeppe/go-internal/diff 0.006s +ok github.com/rogpeppe/go-internal/diff 0.030s ? github.com/rogpeppe/go-internal/dirhash [no test files] === RUN TestCompare --- PASS: TestCompare (0.00s) @@ -2462,13 +2498,13 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.007s +ok github.com/rogpeppe/go-internal/fmtsort 0.021s === RUN TestScripts === RUN TestScripts/list === PAUSE TestScripts/list === CONT TestScripts/list testscript.go:584: WORK=$WORK - PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2483,7 +2519,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/go-build - GOPROXY=http://127.0.0.1:38743/mod + GOPROXY=http://127.0.0.1:36835/mod goversion=1.24 GONOSUMDB=* @@ -2508,19 +2544,19 @@ # 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.006s) + # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.018s) > go mod tidy [stderr] go: warning: "all" matched no packages PASS ---- PASS: TestScripts (0.07s) - --- PASS: TestScripts/list (0.05s) +--- PASS: TestScripts (0.16s) + --- PASS: TestScripts/list (0.13s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.145s +ok github.com/rogpeppe/go-internal/goproxytest 0.336s === RUN TestInitGoEnv ---- PASS: TestInitGoEnv (0.05s) +--- PASS: TestInitGoEnv (0.13s) === RUN TestSimple === RUN TestSimple/cover === PAUSE TestSimple/cover @@ -2532,7 +2568,7 @@ === CONT TestSimple/version === CONT TestSimple/env testscript.go:584: WORK=$WORK - PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2552,7 +2588,7 @@ GOINTERNAL_MODULE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.14.1/_build/src/github.com/rogpeppe/go-internal # GOPATH and GOMODCACHE are not shared with the host, - # but GOCACHE is. (0.018s) + # but GOCACHE is. (0.023s) > go env [stdout] AR='ar' @@ -2578,7 +2614,7 @@ GOEXPERIMENT='' GOFIPS140='off' GOFLAGS='' - GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build4074140220=/tmp/go-build -gno-record-gcc-switches' + GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build2639942604=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='arm64' GOHOSTOS='linux' GOINSECURE='' @@ -2609,7 +2645,7 @@ === NAME TestSimple/version testscript.go:584: WORK=$WORK - PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2640,7 +2676,7 @@ === NAME TestSimple/cover testscript.go:1202: testscript.go:584: WORK=$WORK - PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -2661,25 +2697,25 @@ > unquote scripts/exec.txt # The module uses testscript itself. - # Use the checked out module, based on where the test binary ran. (0.168s) + # Use the checked out module, based on where the test binary ran. (0.319s) > 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 - golang.org/x/mod@v0.21.0: Get "https://proxy.golang.org/golang.org/x/mod/@v/v0.21.0.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:44601->[::1]:53: read: connection refused + golang.org/x/mod@v0.21.0: Get "https://proxy.golang.org/golang.org/x/mod/@v/v0.21.0.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:51508->[::1]:53: read: connection refused [exit status 1] FAIL: testdata/cover.txt:6: unexpected go command failure SKIP: TestSimple/cover: Possible restricted network access ---- PASS: TestSimple (0.05s) +--- PASS: TestSimple (0.16s) --- PASS: TestSimple/env (0.02s) - --- PASS: TestSimple/version (0.08s) - --- SKIP: TestSimple/cover (0.17s) + --- PASS: TestSimple/version (0.13s) + --- SKIP: TestSimple/cover (0.32s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.280s +ok github.com/rogpeppe/go-internal/gotooltest 0.644s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2693,7 +2729,7 @@ === RUN TestScanStar --- PASS: TestScanStar (0.00s) PASS -ok github.com/rogpeppe/go-internal/imports 0.012s +ok github.com/rogpeppe/go-internal/imports 0.042s === RUN TestAlmostEqual === PAUSE TestAlmostEqual === CONT TestAlmostEqual @@ -2725,7 +2761,7 @@ --- PASS: FuzzAlmostEqual/b323cef1fc26e507 (0.00s) --- PASS: FuzzAlmostEqual/c6edde4256d6f5eb (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/misspell 0.012s +ok github.com/rogpeppe/go-internal/internal/misspell 0.024s ? 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/sysdll [no test files] @@ -2736,32 +2772,30 @@ === RUN TestCanLockExistingFile === PAUSE TestCanLockExistingFile === RUN TestSpuriousEDEADLK ---- PASS: TestSpuriousEDEADLK (0.03s) +--- PASS: TestSpuriousEDEADLK (0.05s) === RUN TestTransform ---- PASS: TestTransform (0.38s) +--- PASS: TestTransform (0.62s) === CONT TestMutexExcludes === CONT TestCanLockExistingFile -=== CONT TestReadWaitsForLock === NAME TestMutexExcludes lockedfile_test.go:85: mu := MutexAt(_) lockedfile_test.go:91: unlock, _ := mu.Lock() lockedfile_test.go:94: mu2 := MutexAt(mu.Path) -=== NAME TestReadWaitsForLock +=== CONT TestReadWaitsForLock lockedfile_test.go:134: WriteString("part 1\n") = === NAME TestMutexExcludes lockedfile_test.go:107: unlock() === NAME TestReadWaitsForLock lockedfile_test.go:156: WriteString("part 2\n") = + lockedfile_test.go:146: Read(_) = "part 1\npart 2\n" +--- PASS: TestReadWaitsForLock (0.01s) +--- PASS: TestCanLockExistingFile (0.01s) === NAME TestMutexExcludes lockedfile_test.go:102: unlock2, _ := mu2.Lock() lockedfile_test.go:103: unlock2() ---- PASS: TestCanLockExistingFile (0.01s) -=== NAME TestReadWaitsForLock - lockedfile_test.go:146: Read(_) = "part 1\npart 2\n" --- PASS: TestMutexExcludes (0.01s) ---- PASS: TestReadWaitsForLock (0.01s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 0.428s +ok github.com/rogpeppe/go-internal/lockedfile 0.721s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2769,70 +2803,61 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:188: fd 6 = /tmp/TestLockNotDroppedByExecCommand100826053 + filelock_test.go:188: fd 6 = /tmp/TestLockNotDroppedByExecCommand3974674898 filelock_test.go:191: Lock(fd 6) = - filelock_test.go:193: fd 7 = os.Open("/tmp/TestLockNotDroppedByExecCommand100826053") + filelock_test.go:193: fd 7 = os.Open("/tmp/TestLockNotDroppedByExecCommand3974674898") filelock_test.go:204: Lock(fd 7) is blocked (as expected) filelock_test.go:205: Unlock(fd 6) = asm_arm64.s:1223: Lock(fd 7) = filelock_test.go:207: Unlock(fd 7) = ---- PASS: TestLockNotDroppedByExecCommand (0.02s) +--- PASS: TestLockNotDroppedByExecCommand (0.04s) === CONT TestLockExcludesLock + filelock_test.go:121: fd 6 = /tmp/TestLockExcludesLock1316277360 + filelock_test.go:124: fd 7 = os.Open("/tmp/TestLockExcludesLock1316277360") + filelock_test.go:127: Lock(fd 6) = === CONT TestRLockExcludesOnlyLock + filelock_test.go:153: fd 8 = /tmp/TestRLockExcludesOnlyLock3920326381 + filelock_test.go:155: RLock(fd 8) = + filelock_test.go:157: fd 9 = os.Open("/tmp/TestRLockExcludesOnlyLock3920326381") + filelock_test.go:171: RLock(fd 9) = + filelock_test.go:175: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock3920326381") === CONT TestLockExcludesRLock + filelock_test.go:137: fd 11 = /tmp/TestLockExcludesRLock1938691572 + filelock_test.go:140: fd 12 = os.Open("/tmp/TestLockExcludesRLock1938691572") + filelock_test.go:143: Lock(fd 11) = === NAME TestLockExcludesLock - filelock_test.go:121: fd 6 = /tmp/TestLockExcludesLock244065358 - filelock_test.go:124: fd 9 = os.Open("/tmp/TestLockExcludesLock244065358") - filelock_test.go:127: Lock(fd 6) = -=== NAME TestRLockExcludesOnlyLock - filelock_test.go:153: fd 7 = /tmp/TestRLockExcludesOnlyLock64267622 - filelock_test.go:155: RLock(fd 7) = -=== NAME TestLockExcludesRLock - filelock_test.go:137: fd 8 = /tmp/TestLockExcludesRLock3004412070 -=== NAME TestRLockExcludesOnlyLock - filelock_test.go:157: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock64267622") - filelock_test.go:171: RLock(fd 10) = -=== NAME TestLockExcludesRLock - filelock_test.go:140: fd 11 = os.Open("/tmp/TestLockExcludesRLock3004412070") - filelock_test.go:143: Lock(fd 8) = -=== NAME TestRLockExcludesOnlyLock - filelock_test.go:175: fd 12 = os.Open("/tmp/TestRLockExcludesOnlyLock64267622") -=== NAME TestLockExcludesLock - filelock_test.go:128: Lock(fd 9) is blocked (as expected) + filelock_test.go:128: Lock(fd 7) is blocked (as expected) filelock_test.go:129: Unlock(fd 6) = -=== NAME TestLockExcludesRLock - filelock_test.go:144: RLock(fd 11) is blocked (as expected) - filelock_test.go:145: Unlock(fd 8) = -=== NAME TestLockExcludesLock - asm_arm64.s:1223: Lock(fd 9) = - filelock_test.go:131: Unlock(fd 9) = ---- PASS: TestLockExcludesLock (0.01s) -=== NAME TestLockExcludesRLock - asm_arm64.s:1223: RLock(fd 11) = === NAME TestRLockExcludesOnlyLock - filelock_test.go:177: Lock(fd 12) is blocked (as expected) + filelock_test.go:177: Lock(fd 10) is blocked (as expected) + filelock_test.go:179: Unlock(fd 9) = + filelock_test.go:181: Unlock(fd 8) = === NAME TestLockExcludesRLock - filelock_test.go:147: Unlock(fd 11) = -=== NAME TestRLockExcludesOnlyLock - filelock_test.go:179: Unlock(fd 10) = - filelock_test.go:181: Unlock(fd 7) = + filelock_test.go:144: RLock(fd 12) is blocked (as expected) + filelock_test.go:145: Unlock(fd 11) = + asm_arm64.s:1223: RLock(fd 12) = + filelock_test.go:147: Unlock(fd 12) = --- PASS: TestLockExcludesRLock (0.01s) === NAME TestRLockExcludesOnlyLock - asm_arm64.s:1223: Lock(fd 12) = - filelock_test.go:184: Unlock(fd 12) = + asm_arm64.s:1223: Lock(fd 10) = + filelock_test.go:184: Unlock(fd 10) = --- PASS: TestRLockExcludesOnlyLock (0.01s) +=== NAME TestLockExcludesLock + asm_arm64.s:1223: Lock(fd 7) = + filelock_test.go:131: Unlock(fd 7) = +--- PASS: TestLockExcludesLock (0.02s) PASS -ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.043s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.080s ? github.com/rogpeppe/go-internal/modfile [no test files] ? github.com/rogpeppe/go-internal/module [no test files] === RUN TestWork --- PASS: TestWork (0.01s) === RUN TestWorkParallel ---- PASS: TestWorkParallel (0.00s) +--- PASS: TestWorkParallel (0.01s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.012s +ok github.com/rogpeppe/go-internal/par 0.044s ? github.com/rogpeppe/go-internal/renameio [no test files] ? github.com/rogpeppe/go-internal/robustio [no test files] ? github.com/rogpeppe/go-internal/semver [no test files] @@ -2932,221 +2957,11 @@ === RUN TestScripts/wait === PAUSE TestScripts/wait === CONT TestScripts/big_diff -=== CONT TestScripts/testscript_update_script_actual_is_file -=== CONT TestScripts/kill_unnamed -=== CONT TestScripts/stdin -=== CONT TestScripts/readfile -=== NAME TestScripts/testscript_update_script_actual_is_file - testscript.go:584: > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - [stdout] - ** RUN testscript ** - PASS - $WORK/scripts/testscript.txt updated - - > cmp scripts/testscript.txt testscript-new.txt - PASS - === CONT TestScripts/wait -=== CONT TestScripts/values -=== CONT TestScripts/testscript_update_script_stderr -=== NAME TestScripts/values - testscript.go:584: > test-values - PASS - -=== CONT TestScripts/testscript_update_script_quote -=== CONT TestScripts/testscript_notfound -=== CONT TestScripts/testscript_update_script_expected_not_in_archive -=== CONT TestScripts/testscript_logging -=== CONT TestScripts/testscript_update_script -=== NAME TestScripts/testscript_notfound - testscript.go:584: # Check that unknown commands output a useful error message (0.000s) - > ! testscript notfound - [stdout] - ** RUN script ** - > notexist - FAIL: $WORK/notfound/script.txt:1: unknown command "notexist" - - > stdout 'unknown command "notexist"' - > ! testscript negation - [stdout] - ** RUN script ** - > !exists file - FAIL: $WORK/negation/script.txt:1: unknown command "!exists" (did you mean "! exists"?) - - > stdout 'unknown command "!exists" \(did you mean "! exists"\?\)' - > ! testscript misspelled - [stdout] - ** RUN script ** - > exits file - FAIL: $WORK/misspelled/script.txt:1: unknown command "exits" (did you mean "exists"?) - - > stdout 'unknown command "exits" \(did you mean "exists"\?\)' - PASS - -=== CONT TestScripts/testscript_stdout_stderr_error -=== CONT TestScripts/setupfiles - testscript.go:584: # 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/regexpquote - testscript.go:584: > env XXX='hello)' - > grep ^${XXX@R}$ file.txt - PASS - -=== CONT TestScripts/evalsymlink -=== NAME TestScripts/testscript_update_script_stderr - testscript.go:584: > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - [stdout] - ** RUN testscript ** - PASS - $WORK/scripts/testscript.txt updated - - > cmp scripts/testscript.txt testscript-new.txt - PASS - -=== NAME TestScripts/testscript_update_script_expected_not_in_archive - testscript.go:584: # Verify that comparing stdout against a file not in the archive does nothing (0.000s) - > unquote scripts/testscript.txt - > cp scripts/testscript.txt unchanged - > ! testscript -update scripts - [stdout] - ** RUN testscript ** - > fprintargs stdout right - [stdout] - right - > cp file expect - > cmp stdout expect - diff stdout expect - --- stdout - +++ expect - @@ -1,1 +1,1 @@ - -right - +wrong - - FAIL: $WORK/scripts/testscript.txt:3: stdout and expect differ - - > cmp scripts/testscript.txt unchanged - PASS - -=== NAME TestScripts/readfile - testscript.go:584: > fprintargs stdout stdout - [stdout] - stdout - > testreadfile stdout - > fprintargs stderr stderr - [stderr] - stderr - > testreadfile stderr - > testreadfile x/somefile - PASS - -=== CONT TestScripts/kill -=== CONT TestScripts/interrupt -=== NAME TestScripts/kill_unnamed - testscript.go:584: > [!exec:sleep] skip - # This test depends on sleep exiting with a non-success status when being - # terminated by an interrupt (kill on Windows) signal. (0.000s) - > ! exec sleep 10 & - > ! exec sleep 10 & - # Set a timeout. If the kill below fails, this sleep will have terminated - # before the test exits and so the test will fail when it completes. (0.000s) - > ! exec sleep 5 & - > kill -KILL - > wait - [background] sleep 10: signal: killed - [background] sleep 10: signal: killed - [background] sleep 5: signal: killed - PASS - -=== CONT TestScripts/interrupt_implicit -=== NAME TestScripts/testscript_update_script_quote - testscript.go:584: > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - [stdout] - ** RUN testscript ** - PASS - $WORK/scripts/testscript.txt updated - - > cmp scripts/testscript.txt testscript-new.txt - PASS - -=== CONT TestScripts/hello -=== CONT TestScripts/exists - testscript.go:584: > 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/execguard - testscript.go:584: > [exec:nosuchcommand] exec nosuchcommand - > [!exec:cat] stop - > exec cat foo - [stdout] - foo - > stdout 'foo\n' - PASS - -=== NAME TestScripts/testscript_stdout_stderr_error - testscript.go:584: # Verify that stdout and stderr get set event when a user-builtin - # command aborts. Note that we need to assert against stdout - # because our meta testscript command sees only a single log. (0.000s) - > unquote scripts/testscript.txt - > ! testscript -v scripts - [stdout] - ** RUN testscript ** - > printargs hello world - [stdout] - ["printargs" "hello" "world"] - > echoandexit 1 'this is stdout' 'this is stderr' - [stdout] - this is stdout - [stderr] - this is stderr - FAIL: $WORK/scripts/testscript.txt:2: told to exit with code 1 - - > cmpenv stdout stdout.golden - PASS - -=== NAME TestScripts/evalsymlink - testscript.go:584: # 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.000s) - > [windows] skip - > exec pwd - [stdout] - $WORK - > stdout ^$WORK$ - > exec pwd -P - [stdout] - $WORK - > stdout ^$WORK$ - PASS - -=== NAME TestScripts/hello - testscript.go:584: > [!exec:cat] stop - # hello world (0.000s) - > exec cat hello.text - [stdout] - hello world - > stdout 'hello world\n' - > ! stderr . +=== CONT TestScripts/nothing + testscript.go:584: # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS -=== CONT TestScripts/testscript_explicit_exec -=== CONT TestScripts/exec_path_change -=== CONT TestScripts/testscript_explicit_files -=== CONT TestScripts/testscript_duplicate_name === NAME TestScripts/big_diff testscript.go:584: # Verify the behaviour of cmp in the case of a diff between two # large files (with a large diff) (0.000s) @@ -5216,7 +5031,7 @@ > env WORK=$WORK - PATH=/tmp/testscript-main4139346459/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main689715334/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -5229,27 +5044,35 @@ > cmpenv stdout stdout.golden PASS -=== NAME TestScripts/testscript_update_script - testscript.go:584: # Check that we support both txt and txtar extensions. (0.000s) - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > cp scripts/testscript.txt scripts/testscript2.txtar - > testscript -update scripts +=== CONT TestScripts/testscript_logging +=== CONT TestScripts/testscript_explicit_files + testscript.go:584: # Check that we can pass an explicit set of files to be tested. (0.000s) + > ! testscript -files foo.txtar x/bar.txtar y/bar.txtar 'y/bar#1.txtar' [stdout] - ** RUN testscript ** + ** RUN foo ** PASS - $WORK/scripts/testscript.txt updated - ** RUN testscript2 ** + ** RUN bar ** PASS - $WORK/scripts/testscript2.txtar updated + ** RUN bar#1 ** + > echoandexit 1 '' 'bar#1 failure' + [stderr] + bar#1 failure + FAIL: $WORK/y/bar.txtar:1: told to exit with code 1 + ** RUN bar#1#1 ** + > echoandexit 1 '' 'bar#1#1 failure' + [stderr] + bar#1#1 failure + FAIL: $WORK/y/bar#1.txtar:1: told to exit with code 1 - > cmp scripts/testscript.txt testscript-new.txt - > cmp scripts/testscript2.txtar testscript-new.txt + > cmpenv stdout expect-stdout PASS -=== CONT TestScripts/nothing -=== CONT TestScripts/pty -=== NAME TestScripts/testscript_duplicate_name +=== CONT TestScripts/testscript_explicit_exec +=== CONT TestScripts/values + testscript.go:584: > test-values + PASS + +=== CONT TestScripts/testscript_duplicate_name testscript.go:584: # Check that RequireUniqueNames works; # it should reject txtar archives with duplicate names as defined by the host system. (0.000s) > unquote scripts-normalized/testscript.txt @@ -5266,87 +5089,110 @@ > stdout '.* would overwrite .* \(because RequireUniqueNames is enabled\)' PASS -=== NAME TestScripts/nothing - testscript.go:584: # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) +=== CONT TestScripts/stdin +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/testscript_update_script_actual_is_file + testscript.go:584: > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + [stdout] + ** RUN testscript ** PASS + $WORK/scripts/testscript.txt updated -=== CONT TestScripts/cond -=== NAME TestScripts/kill - testscript.go:584: > [!exec:sleep] skip - # This test depends on sleep exiting with a non-success status when being - # terminated by an interrupt (kill on Windows) signal. (0.000s) - > ! exec sleep 10 &test_sleep& - # Set a timeout. If the kill below fails, this sleep will have terminated - # before the test exits and so the test will fail when it completes. (0.000s) - > ! exec sleep 5 & - > kill -KILL test_sleep - > wait test_sleep - [background] sleep 5: signal: interrupt + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/defer -=== NAME TestScripts/cond - testscript.go:584: # test that exactly one of gc and gccgo is set (0.000s) - > [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) - > [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) - > [unix] mkdir unix_true - > [linux] exists unix_true - > [darwin] exists unix_true - > [windows] ! exists unix_true +=== CONT TestScripts/evalsymlink +=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/testscript_stdout_stderr_error +=== CONT TestScripts/testscript_notfound +=== CONT TestScripts/setupfiles +=== NAME TestScripts/testscript_update_script_quote + testscript.go:584: > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + [stdout] + ** RUN testscript ** PASS + $WORK/scripts/testscript.txt updated -=== NAME TestScripts/defer - testscript.go:584: > testdefer - > testdefer - > testdefer + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/custom_cd -=== CONT TestScripts/cpstdout -=== NAME TestScripts/testscript_explicit_files - testscript.go:584: # Check that we can pass an explicit set of files to be tested. (0.000s) - > ! testscript -files foo.txtar x/bar.txtar y/bar.txtar 'y/bar#1.txtar' +=== NAME TestScripts/testscript_update_script_expected_not_in_archive + testscript.go:584: # Verify that comparing stdout against a file not in the archive does nothing (0.000s) + > unquote scripts/testscript.txt + > cp scripts/testscript.txt unchanged + > ! testscript -update scripts [stdout] - ** RUN foo ** + ** RUN testscript ** + > fprintargs stdout right + [stdout] + right + > cp file expect + > cmp stdout expect + diff stdout expect + --- stdout + +++ expect + @@ -1,1 +1,1 @@ + -right + +wrong + + FAIL: $WORK/scripts/testscript.txt:3: stdout and expect differ + + > cmp scripts/testscript.txt unchanged PASS - ** RUN bar ** + +=== CONT TestScripts/long_diff +=== CONT TestScripts/kill_unnamed +=== NAME TestScripts/testscript_update_script_stderr + testscript.go:584: > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + [stdout] + ** RUN testscript ** PASS - ** RUN bar#1 ** - > echoandexit 1 '' 'bar#1 failure' - [stderr] - bar#1 failure - FAIL: $WORK/y/bar.txtar:1: told to exit with code 1 - ** RUN bar#1#1 ** - > echoandexit 1 '' 'bar#1#1 failure' - [stderr] - bar#1#1 failure - FAIL: $WORK/y/bar#1.txtar:1: told to exit with code 1 + $WORK/scripts/testscript.txt updated - > cmpenv stdout expect-stdout + > cmp scripts/testscript.txt testscript-new.txt PASS -=== NAME TestScripts/custom_cd - testscript.go:584: # Verify that a custom command can chdir. (0.000s) - > mkChdir foo - > exists $WORK/foo - # Current directory is not $WORK. (0.000s) - > ! exists foo +=== NAME TestScripts/setupfiles + testscript.go:584: # 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/long_diff -=== CONT TestScripts/command -=== CONT TestScripts/commandstatus +=== CONT TestScripts/interrupt_implicit +=== NAME TestScripts/testscript_notfound + testscript.go:584: # Check that unknown commands output a useful error message (0.000s) + > ! testscript notfound + [stdout] + ** RUN script ** + > notexist + FAIL: $WORK/notfound/script.txt:1: unknown command "notexist" + + > stdout 'unknown command "notexist"' + > ! testscript negation + [stdout] + ** RUN script ** + > !exists file + FAIL: $WORK/negation/script.txt:1: unknown command "!exists" (did you mean "! exists"?) + + > stdout 'unknown command "!exists" \(did you mean "! exists"\?\)' + > ! testscript misspelled + [stdout] + ** RUN script ** + > exits file + FAIL: $WORK/misspelled/script.txt:1: unknown command "exits" (did you mean "exists"?) + + > stdout 'unknown command "exits" \(did you mean "exists"\?\)' + PASS + +=== CONT TestScripts/interrupt === NAME TestScripts/long_diff testscript.go:584: # Verify the behaviour of cmp in the case of a small diff between # two large files (0.000s) @@ -5369,7 +5215,7 @@ > env WORK=$WORK - PATH=/tmp/testscript-main4139346459/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main689715334/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -5382,45 +5228,196 @@ > cmpenv stdout stdout.golden PASS -=== NAME TestScripts/stdin - testscript.go:584: > [!exec:cat] skip - > stdin hello.txt - > exec cat +=== CONT TestScripts/hello +=== NAME TestScripts/evalsymlink + testscript.go:584: # 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.000s) + > [windows] skip + > exec pwd [stdout] - hello + $WORK + > stdout ^$WORK$ + > exec pwd -P + [stdout] + $WORK + > stdout ^$WORK$ + PASS - > stdout hello - > exec cat - > ! stdout hello - > [!exec:cat] stop - # Check that 'stdin stdout' works. (0.000s) - > exec cat hello.txt +=== CONT TestScripts/exists +=== CONT TestScripts/kill +=== NAME TestScripts/exists + testscript.go:584: > 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/execguard +=== NAME TestScripts/testscript_stdout_stderr_error + testscript.go:584: # Verify that stdout and stderr get set event when a user-builtin + # command aborts. Note that we need to assert against stdout + # because our meta testscript command sees only a single log. (0.000s) + > unquote scripts/testscript.txt + > ! testscript -v scripts [stdout] - hello + ** RUN testscript ** + > printargs hello world + [stdout] + ["printargs" "hello" "world"] + > echoandexit 1 'this is stdout' 'this is stderr' + [stdout] + this is stdout + [stderr] + this is stderr + FAIL: $WORK/scripts/testscript.txt:2: told to exit with code 1 - > stdin stdout - > exec cat + > cmpenv stdout stdout.golden + PASS + +=== NAME TestScripts/hello + testscript.go:584: > [!exec:cat] stop + # hello world (0.000s) + > exec cat hello.text [stdout] - hello + hello world + > stdout 'hello world\n' + > ! stderr . + PASS - > stdout hello +=== CONT TestScripts/regexpquote +=== CONT TestScripts/exec_path_change +=== NAME TestScripts/testscript_explicit_exec + testscript.go:584: # 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.000s) + > unquote scripts-implicit/testscript.txt + > unquote scripts-explicit/testscript.txt + > testscript scripts-implicit + [stdout] + ** RUN testscript ** PASS -=== NAME TestScripts/command - testscript.go:584: > printargs a b 'c d' + > testscript scripts-explicit [stdout] - ["printargs" "a" "b" "c d"] - > stdout '\["printargs" "a" "b" "c d"\]\n' + ** RUN testscript ** + PASS + + > ! testscript -explicit-exec scripts-implicit + [stdout] + ** RUN testscript ** + > fprintargs stdout right + FAIL: $WORK/scripts-implicit/testscript.txt:1: use 'exec fprintargs' rather than 'fprintargs' (because RequireExplicitExec is enabled) + + > testscript -explicit-exec scripts-explicit + [stdout] + ** RUN testscript ** + PASS + + PASS + +=== NAME TestScripts/execguard + testscript.go:584: > [exec:nosuchcommand] exec nosuchcommand + > [!exec:cat] stop + > exec cat foo + [stdout] + foo + > stdout 'foo\n' PASS -=== CONT TestScripts/cmpenv -=== CONT TestScripts/cmd_stdout_stderr === CONT TestScripts/setenv +=== CONT TestScripts/commandstatus +=== NAME TestScripts/setenv testscript.go:584: > setSpecialVal > exists $SPECIALVAL.txt > ensureSpecialVal PASS +=== CONT TestScripts/defer + testscript.go:584: > testdefer + > testdefer + > testdefer + PASS + +=== CONT TestScripts/custom_cd + testscript.go:584: # Verify that a custom command can chdir. (0.000s) + > mkChdir foo + > exists $WORK/foo + # Current directory is not $WORK. (0.000s) + > ! exists foo + PASS + +=== CONT TestScripts/cpstdout +=== NAME TestScripts/testscript_update_script + testscript.go:584: # Check that we support both txt and txtar extensions. (0.000s) + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > cp scripts/testscript.txt scripts/testscript2.txtar + > testscript -update scripts + [stdout] + ** RUN testscript ** + PASS + $WORK/scripts/testscript.txt updated + ** RUN testscript2 ** + PASS + $WORK/scripts/testscript2.txtar updated + + > cmp scripts/testscript.txt testscript-new.txt + > cmp scripts/testscript2.txtar testscript-new.txt + PASS + +=== NAME TestScripts/interrupt_implicit + testscript.go:584: # Let testscript stop signalcatcher at the end of the testscript. (0.000s) + > signalcatcher & + > waitfile catchsignal + [background] signalcatcher: exit status 0 + [stdout] + caught interrupt + PASS + +=== CONT TestScripts/readfile +=== NAME TestScripts/kill + testscript.go:584: > [!exec:sleep] skip + # This test depends on sleep exiting with a non-success status when being + # terminated by an interrupt (kill on Windows) signal. (0.000s) + > ! exec sleep 10 &test_sleep& + # Set a timeout. If the kill below fails, this sleep will have terminated + # before the test exits and so the test will fail when it completes. (0.000s) + > ! exec sleep 5 & + > kill -KILL test_sleep + > wait test_sleep + [background] sleep 5: signal: interrupt + PASS + +=== NAME TestScripts/kill_unnamed + testscript.go:584: > [!exec:sleep] skip + # This test depends on sleep exiting with a non-success status when being + # terminated by an interrupt (kill on Windows) signal. (0.000s) + > ! exec sleep 10 & + > ! exec sleep 10 & + # Set a timeout. If the kill below fails, this sleep will have terminated + # before the test exits and so the test will fail when it completes. (0.000s) + > ! exec sleep 5 & + > kill -KILL + > wait + [background] sleep 10: signal: killed + [background] sleep 10: signal: killed + [background] sleep 5: signal: killed + PASS + +=== CONT TestScripts/cmpenv +=== CONT TestScripts/command +=== NAME TestScripts/cmpenv + testscript.go:584: > env $=$ + > cmpenv file1 file2 + PASS + +=== CONT TestScripts/cmd_stdout_stderr +=== CONT TestScripts/cond === NAME TestScripts/cpstdout testscript.go:584: > [!exec:cat] stop # hello world (0.000s) @@ -5436,14 +5433,55 @@ > cmp new hello.text PASS -=== NAME TestScripts/pty - testscript.go:584: > [!linux] [!darwin] skip - > [darwin] skip # https://go.dev/issue/61779 - > ttyin secretwords.txt - > terminalprompt - > ttyout 'magic words' - > ! stderr . - > ! stdout . +=== NAME TestScripts/cond + testscript.go:584: # test that exactly one of gc and gccgo is set (0.000s) + > [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) + > [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) + > [unix] mkdir unix_true + > [linux] exists unix_true + > [darwin] exists unix_true + > [windows] ! exists unix_true + PASS + +=== CONT TestScripts/pty +=== NAME TestScripts/regexpquote + testscript.go:584: > env XXX='hello)' + > grep ^${XXX@R}$ file.txt + PASS + +=== NAME TestScripts/stdin + testscript.go:584: > [!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.000s) + > exec cat hello.txt + [stdout] + hello + + > stdin stdout + > exec cat + [stdout] + hello + + > stdout hello PASS === NAME TestScripts/interrupt @@ -5458,20 +5496,6 @@ > stdout 'caught interrupt' PASS -=== NAME TestScripts/cmpenv - testscript.go:584: > env $=$ - > cmpenv file1 file2 - PASS - -=== NAME TestScripts/interrupt_implicit - testscript.go:584: # Let testscript stop signalcatcher at the end of the testscript. (0.000s) - > signalcatcher & - > waitfile catchsignal - [background] signalcatcher: exit status 0 - [stdout] - caught interrupt - PASS - === NAME TestScripts/wait testscript.go:584: > [!exec:echo] skip > [!exec:false] skip @@ -5527,42 +5551,41 @@ [background] sleep 86400: signal: interrupt PASS -=== NAME TestScripts/commandstatus - testscript.go:584: > ! status 1 - [exit status 1] - > ! status 2 - [exit status 2] - > status 0 - PASS - -=== NAME TestScripts/testscript_explicit_exec - testscript.go:584: # 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.000s) - > unquote scripts-implicit/testscript.txt - > unquote scripts-explicit/testscript.txt - > testscript scripts-implicit +=== NAME TestScripts/readfile + testscript.go:584: > fprintargs stdout stdout [stdout] - ** RUN testscript ** + stdout + > testreadfile stdout + > fprintargs stderr stderr + [stderr] + stderr + > testreadfile stderr + > testreadfile x/somefile PASS - > testscript scripts-explicit +=== NAME TestScripts/command + testscript.go:584: > printargs a b 'c d' [stdout] - ** RUN testscript ** + ["printargs" "a" "b" "c d"] + > stdout '\["printargs" "a" "b" "c d"\]\n' PASS - > ! testscript -explicit-exec scripts-implicit - [stdout] - ** RUN testscript ** - > fprintargs stdout right - FAIL: $WORK/scripts-implicit/testscript.txt:1: use 'exec fprintargs' rather than 'fprintargs' (because RequireExplicitExec is enabled) - - > testscript -explicit-exec scripts-explicit - [stdout] - ** RUN testscript ** +=== NAME TestScripts/pty + testscript.go:584: > [!linux] [!darwin] skip + > [darwin] skip # https://go.dev/issue/61779 + > ttyin secretwords.txt + > terminalprompt + > ttyout 'magic words' + > ! stderr . + > ! stdout . PASS +=== NAME TestScripts/commandstatus + testscript.go:584: > ! status 1 + [exit status 1] + > ! status 2 + [exit status 2] + > status 0 PASS === NAME TestScripts/cmd_stdout_stderr @@ -5743,53 +5766,53 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s) + --- PASS: TestScripts/nothing (0.00s) + --- PASS: TestScripts/big_diff (0.02s) + --- PASS: TestScripts/testscript_explicit_files (0.00s) --- PASS: TestScripts/values (0.00s) - --- PASS: TestScripts/testscript_notfound (0.00s) - --- PASS: TestScripts/setupfiles (0.00s) - --- PASS: TestScripts/regexpquote (0.00s) + --- PASS: TestScripts/testscript_duplicate_name (0.00s) + --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s) + --- PASS: TestScripts/testscript_update_script_quote (0.03s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.03s) --- PASS: TestScripts/testscript_update_script_stderr (0.04s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.04s) - --- PASS: TestScripts/readfile (0.04s) - --- PASS: TestScripts/kill_unnamed (0.04s) - --- PASS: TestScripts/testscript_update_script_quote (0.04s) + --- PASS: TestScripts/setupfiles (0.01s) + --- PASS: TestScripts/testscript_notfound (0.01s) + --- PASS: TestScripts/long_diff (0.01s) + --- PASS: TestScripts/evalsymlink (0.01s) --- PASS: TestScripts/exists (0.00s) - --- PASS: TestScripts/execguard (0.00s) - --- PASS: TestScripts/evalsymlink (0.04s) - --- PASS: TestScripts/testscript_stdout_stderr_error (0.04s) - --- PASS: TestScripts/hello (0.01s) - --- PASS: TestScripts/testscript_update_script (0.04s) - --- PASS: TestScripts/big_diff (0.05s) - --- PASS: TestScripts/nothing (0.00s) - --- PASS: TestScripts/kill (0.01s) - --- PASS: TestScripts/cond (0.00s) + --- PASS: TestScripts/testscript_stdout_stderr_error (0.05s) + --- PASS: TestScripts/hello (0.04s) + --- PASS: TestScripts/execguard (0.04s) + --- PASS: TestScripts/testscript_explicit_exec (0.09s) + --- PASS: TestScripts/setenv (0.00s) --- PASS: TestScripts/defer (0.00s) - --- PASS: TestScripts/testscript_duplicate_name (0.00s) - --- PASS: TestScripts/testscript_explicit_files (0.00s) --- PASS: TestScripts/custom_cd (0.00s) - --- PASS: TestScripts/long_diff (0.00s) - --- PASS: TestScripts/command (0.01s) - --- PASS: TestScripts/stdin (0.05s) - --- PASS: TestScripts/setenv (0.00s) - --- PASS: TestScripts/cpstdout (0.01s) - --- PASS: TestScripts/interrupt (0.02s) - --- PASS: TestScripts/pty (0.01s) + --- PASS: TestScripts/testscript_update_script (0.06s) + --- PASS: TestScripts/interrupt_implicit (0.05s) + --- PASS: TestScripts/kill (0.05s) + --- PASS: TestScripts/kill_unnamed (0.06s) --- PASS: TestScripts/cmpenv (0.00s) - --- PASS: TestScripts/interrupt_implicit (0.02s) - --- PASS: TestScripts/wait (0.06s) - --- PASS: TestScripts/commandstatus (0.01s) - --- PASS: TestScripts/testscript_explicit_exec (0.02s) - --- PASS: TestScripts/cmd_stdout_stderr (0.02s) - --- PASS: TestScripts/testscript_logging (0.11s) - --- PASS: TestScripts/exec_path_change (5.45s) + --- PASS: TestScripts/cpstdout (0.02s) + --- PASS: TestScripts/cond (0.00s) + --- PASS: TestScripts/regexpquote (0.02s) + --- PASS: TestScripts/stdin (0.11s) + --- PASS: TestScripts/interrupt (0.06s) + --- PASS: TestScripts/wait (0.13s) + --- PASS: TestScripts/readfile (0.02s) + --- PASS: TestScripts/command (0.02s) + --- PASS: TestScripts/pty (0.02s) + --- PASS: TestScripts/commandstatus (0.04s) + --- PASS: TestScripts/cmd_stdout_stderr (0.08s) + --- PASS: TestScripts/testscript_logging (0.34s) + --- PASS: TestScripts/exec_path_change (13.53s) === RUN TestTestwork ---- PASS: TestTestwork (1.78s) +--- PASS: TestTestwork (4.19s) === RUN TestWorkdirRoot === RUN TestWorkdirRoot/run_tests === RUN TestWorkdirRoot/run_tests/nothing === PAUSE TestWorkdirRoot/run_tests/nothing === CONT TestWorkdirRoot/run_tests/nothing - testscript.go:584: WORK=/tmp/TestWorkdirRoot2639280741/001/script-nothing + testscript.go:584: WORK=/tmp/TestWorkdirRoot3148059870/001/script-nothing # Intentionally empty test script; used to test Params.WorkdirRoot (0.000s) PASS @@ -5801,7 +5824,7 @@ === RUN TestUNIX2DOS --- PASS: TestUNIX2DOS (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 7.283s +ok github.com/rogpeppe/go-internal/testscript 17.864s ? github.com/rogpeppe/go-internal/testscript/internal/pty [no test files] === RUN Test === RUN Test/basic @@ -5823,14 +5846,14 @@ === RUN TestQuote/several_lines === RUN TestQuote/bad_data === RUN TestQuote/no_final_newline ---- PASS: TestQuote (0.00s) +--- PASS: TestQuote (0.01s) --- PASS: TestQuote/empty (0.00s) --- PASS: TestQuote/one_line (0.00s) --- PASS: TestQuote/several_lines (0.00s) --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.004s +ok github.com/rogpeppe/go-internal/txtar 0.024s 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 1194 (offset 96 lines). @@ -5859,9 +5882,9 @@ dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang +dpkg-deb: building package 'go-internal' in '../go-internal_1.14.1-1_arm64.deb'. dpkg-deb: building package 'go-internal-dbgsym' in '../go-internal-dbgsym_1.14.1-1_arm64.deb'. dpkg-deb: building package 'golang-github-rogpeppe-go-internal-dev' in '../golang-github-rogpeppe-go-internal-dev_1.14.1-1_all.deb'. -dpkg-deb: building package 'go-internal' in '../go-internal_1.14.1-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-rogpeppe-go-internal_1.14.1-1_arm64.buildinfo dpkg-genchanges --build=binary -O../golang-github-rogpeppe-go-internal_1.14.1-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5869,12 +5892,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/798290/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/798290/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/3414204 and its subdirectories -I: Current time: Fri Oct 30 08:47:08 -12 2026 -I: pbuilder-time-stamp: 1793393228 +I: removing directory /srv/workspace/pbuilder/798290 and its subdirectories +I: Current time: Sun Sep 28 04:28:19 +14 2025 +I: pbuilder-time-stamp: 1758983299