Diff of the two buildlogs: -- --- b1/build.log 2025-03-04 13:46:30.368873902 +0000 +++ b2/build.log 2025-03-04 13:49:46.472041384 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 4 01:41:16 -12 2025 -I: pbuilder-time-stamp: 1741095676 +I: Current time: Tue Apr 7 10:09:31 +14 2026 +I: pbuilder-time-stamp: 1775506171 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 246.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3209794/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3973735/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Apr 6 20:09 /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/3973735/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3973735/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c8b87aef43464c39944fcc4d2096a20d' - 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='3209794' - PS1='# ' - PS2='> ' + INVOCATION_ID=383a57aa67524aa08ce2900fb5f359d2 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=3973735 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.3pfgzy9c/pbuilderrc_jQQg --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3pfgzy9c/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.12.0-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.3pfgzy9c/pbuilderrc_8oZ4 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3pfgzy9c/b2 --logfile b2/build.log golang-github-rogpeppe-go-internal_1.12.0-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3209794/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3973735/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: 45 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-net-dev all 1:0.27.0-1 [898 kB] Get: 46 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] Get: 47 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] -Fetched 80.1 MB in 8s (9738 kB/s) +Fetched 80.1 MB in 10s (7918 kB/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 ... 19802 files and directories currently installed.) @@ -374,7 +406,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.12.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-rogpeppe-go-internal_1.12.0-3_source.changes +I: user script /srv/workspace/pbuilder/3973735/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3973735/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.12.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-rogpeppe-go-internal_1.12.0-3_source.changes dpkg-buildpackage: info: source package golang-github-rogpeppe-go-internal dpkg-buildpackage: info: source version 1.12.0-3 dpkg-buildpackage: info: source distribution unstable @@ -392,221 +428,221 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 20 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/byteorder -internal/goos -internal/goarch -internal/coverage/rtcov -internal/godebugs + cd _build && go install -trimpath -v -p 42 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/goversion +encoding +container/list internal/itoa +math/bits +internal/msan +internal/byteorder +cmp +crypto/internal/fips140/alias internal/profilerecord +github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll +github.com/rogpeppe/go-internal/internal/syscall/windows internal/unsafeheader +internal/goos +unicode +unicode/utf16 unicode/utf8 -cmp +internal/syslist internal/goexperiment -internal/runtime/atomic -unicode -internal/runtime/syscall -crypto/internal/fips140/alias -math/bits -internal/msan +internal/asan +internal/nettrace +internal/coverage/rtcov +vendor/golang.org/x/crypto/internal/alias +internal/godebugs +internal/goarch +log/internal +vendor/golang.org/x/crypto/cryptobyte/asn1 sync/atomic internal/cpu +internal/runtime/atomic +crypto/internal/boring/sig +internal/platform +internal/runtime/syscall +crypto/internal/fips140/subtle internal/runtime/math -internal/abi internal/runtime/sys -internal/asan -crypto/internal/boring/sig -encoding -log/internal -unicode/utf16 -internal/chacha8rand +internal/abi crypto/internal/fips140deps/byteorder -internal/nettrace -vendor/golang.org/x/crypto/cryptobyte/asn1 -container/list -crypto/internal/fips140/subtle -vendor/golang.org/x/crypto/internal/alias -internal/goversion -internal/platform +internal/chacha8rand github.com/rogpeppe/go-internal/internal/misspell -internal/syslist -github.com/rogpeppe/go-internal/internal/syscall/windows -github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll -internal/bytealg +internal/runtime/exithook crypto/internal/fips140deps/cpu +internal/bytealg math -internal/runtime/exithook internal/stringslite internal/race internal/sync internal/runtime/maps runtime iter -sync -weak crypto/subtle internal/reflectlite -slices +weak +sync maps -internal/bisect -internal/testlog -internal/singleflight -unique -runtime/cgo +slices errors sort -internal/godebug -crypto/internal/fips140deps/godebug internal/oserror -io path +vendor/golang.org/x/net/dns/dnsmessage strconv math/rand/v2 +internal/bisect +io +internal/singleflight +internal/testlog +unique +syscall +runtime/cgo +internal/godebug +hash bytes +crypto +crypto/internal/fips140deps/godebug golang.org/x/mod/semver +hash/crc32 +net/netip math/rand -vendor/golang.org/x/net/dns/dnsmessage -hash -strings crypto/internal/randutil -net/netip +strings reflect -syscall -crypto -hash/crc32 -github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/par vendor/golang.org/x/text/transform +github.com/rogpeppe/go-internal/semver crypto/internal/impl -bufio net/http/internal/ascii go/build/constraint crypto/internal/fips140 +bufio regexp/syntax -crypto/tls/internal/fips140tls -crypto/internal/fips140/sha512 +internal/syscall/execenv +internal/syscall/unix +time crypto/internal/fips140/sha3 crypto/internal/fips140/sha256 +crypto/internal/fips140/sha512 +crypto/tls/internal/fips140tls crypto/internal/fips140/hmac crypto/sha3 crypto/internal/fips140/check -crypto/internal/fips140/aes +crypto/internal/fips140hash crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/hkdf +crypto/internal/fips140/aes crypto/internal/fips140/bigmod -crypto/internal/fips140/nistec/fiat -crypto/internal/fips140hash +crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 regexp crypto/internal/fips140/edwards25519 -internal/syscall/execenv -internal/syscall/unix -time -crypto/internal/fips140/nistec +context io/fs internal/poll -context -encoding/binary -github.com/rogpeppe/go-internal/fmtsort -internal/fmtsort internal/filepathlite +internal/fmtsort +github.com/rogpeppe/go-internal/fmtsort +encoding/binary +crypto/internal/fips140/nistec os -vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 +vendor/golang.org/x/crypto/internal/poly1305 encoding/pem crypto/internal/sysrand github.com/rogpeppe/go-internal/lockedfile/internal/filelock -fmt -path/filepath golang.org/x/mod/internal/lazyregexp +path/filepath +fmt vendor/golang.org/x/sys/cpu -internal/lazyregexp io/ioutil internal/sysinfo +internal/lazyregexp github.com/rogpeppe/go-internal/robustio -net crypto/internal/entropy +net crypto/internal/fips140/drbg -os/exec -github.com/rogpeppe/go-internal/renameio crypto/internal/fips140only -crypto/internal/fips140/aes/gcm -crypto/internal/fips140/ecdh crypto/internal/fips140/ed25519 +crypto/internal/fips140/ecdh crypto/internal/fips140/ecdsa crypto/internal/fips140/mlkem crypto/internal/fips140/rsa -crypto/md5 +crypto/internal/fips140/aes/gcm +github.com/rogpeppe/go-internal/renameio +os/exec crypto/rc4 +crypto/md5 crypto/cipher -github.com/rogpeppe/go-internal/internal/os/execpath internal/goroot +github.com/rogpeppe/go-internal/internal/os/execpath +crypto/internal/boring +vendor/golang.org/x/crypto/chacha20 +crypto/des encoding/hex github.com/rogpeppe/go-internal/lockedfile log flag -golang.org/x/mod/module compress/flate +golang.org/x/mod/module golang.org/x/tools/txtar net/url -math/big -github.com/rogpeppe/go-internal/diff -mime encoding/json -mime/quotedprintable +github.com/rogpeppe/go-internal/diff vendor/golang.org/x/net/http2/hpack -net/http/internal -vendor/golang.org/x/text/unicode/norm -github.com/rogpeppe/go-internal/imports -runtime/debug +mime runtime/trace -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 +github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/testscript/internal/pty -github.com/rogpeppe/go-internal/txtar +runtime/debug +net/http/internal go/token +internal/buildcfg +mime/quotedprintable +go/doc/comment +math/big +vendor/golang.org/x/text/unicode/norm crypto/sha256 crypto/aes -crypto/ecdh crypto/sha512 +crypto/ecdh crypto/hmac crypto/sha1 -go/scanner +github.com/rogpeppe/go-internal/txtar vendor/golang.org/x/crypto/chacha20poly1305 -go/doc/comment +go/scanner vendor/golang.org/x/text/unicode/bidi -internal/buildcfg +github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/module golang.org/x/mod/modfile -github.com/rogpeppe/go-internal/cache -go/ast -compress/gzip -archive/zip +testing github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/cmd/txtar-c -testing +archive/zip +go/ast +compress/gzip vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/net/idna github.com/rogpeppe/go-internal/modfile +github.com/rogpeppe/go-internal/dirhash go/doc go/parser crypto/rand -crypto/elliptic crypto/internal/boring/bbig -encoding/asn1 crypto/dsa +crypto/elliptic +encoding/asn1 +github.com/rogpeppe/go-internal/testenv crypto/ed25519 crypto/internal/hpke -vendor/golang.org/x/net/idna crypto/rsa -github.com/rogpeppe/go-internal/dirhash crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte go/build -github.com/rogpeppe/go-internal/testenv crypto/ecdsa github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/gotooltest @@ -619,34 +655,34 @@ 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.12.0' patch -N -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 1155 (offset 57 lines). GOPROXY= dh_auto_test - cd _build && go test -vet=off -v -p 20 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 + cd _build && go test -vet=off -v -p 42 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.13s) +--- PASS: TestBasic (0.03s) === RUN TestGrowth ---- PASS: TestGrowth (5.11s) +--- PASS: TestGrowth (2.04s) === 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.13s) +--- PASS: TestVerifyPanic (0.04s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.22s) +--- PASS: TestCacheTrim (0.05s) === RUN TestHash --- PASS: TestHash (0.00s) === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 5.614s +ok github.com/rogpeppe/go-internal/cache 2.156s === RUN TestScripts === RUN TestScripts/continue === PAUSE TestScripts/continue @@ -674,19 +710,69 @@ === PAUSE TestScripts/work === CONT TestScripts/continue === CONT TestScripts/nogo -=== CONT TestScripts/help -=== CONT TestScripts/work -=== CONT TestScripts/update -=== CONT TestScripts/error -=== CONT TestScripts/env_var_with_go === CONT TestScripts/skip -=== CONT TestScripts/env_var_no_go +=== CONT TestScripts/env_var_with_go === CONT TestScripts/simple +=== CONT TestScripts/help +=== CONT TestScripts/env_var_no_go === CONT TestScripts/noproxy === CONT TestScripts/env_values +=== CONT TestScripts/work +=== CONT TestScripts/update +=== CONT TestScripts/error +=== NAME TestScripts/nogo + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main734376835/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= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=amd64 + GOOS=linux + GOROOT=/usr/lib/go-1.24 + GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.24 + GOINTERNALMODPATH=. + GONOSUMDB=* + + # 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.010s) + > dropgofrompath + > ! testscript -v file.txt + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path + GOTRACEBACK=system + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + exe= + + > go env + FAIL: $WORK/.tmp/testscript378793030/file.txt/script.txtar:1: unknown command "go" + [stderr] + error running file.txt in $WORK/.tmp/testscript378793030/file.txt + + [exit status 1] + > stdout 'unknown command "go"' + > stderr 'error running file.txt in' + PASS + === NAME TestScripts/help testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -706,7 +792,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.012s) + # Simply sanity check on help output (0.062s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -836,59 +922,9 @@ > stderr 'Examples' PASS -=== NAME TestScripts/nogo - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/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= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=amd64 - GOOS=linux - GOROOT=/usr/lib/go-1.24 - GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.24 - GOINTERNALMODPATH=. - GONOSUMDB=* - - # should support skip (0.009s) - > 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.016s) - > dropgofrompath - > ! testscript -v file.txt - [stdout] - WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games - GOTRACEBACK=system - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - exe= - - > go env - FAIL: $WORK/.tmp/testscript1210831950/file.txt/script.txtar:1: unknown command "go" - [stderr] - error running file.txt in $WORK/.tmp/testscript1210831950/file.txt - - [exit status 1] - > stdout 'unknown command "go"' - > stderr 'error running file.txt in' - PASS - === NAME TestScripts/env_var_no_go testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -910,18 +946,18 @@ # Test passing environment variables to scripts with no go command on PATH # - # This is the counterpart to env_var_with_go.txt (0.046s) + # This is the counterpart to env_var_with_go.txt (0.002s) > unquote noproxy.txt > unquote withproxy.txt > dropgofrompath > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.072s) + # no GOPROXY, no pass-through, no proxy (0.011s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -942,11 +978,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.030s) + # no GOPROXY, no pass-through, with proxy (0.016s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -955,7 +991,7 @@ :=: $=$ exe= - GOPROXY=http://127.0.0.1:35731/mod + GOPROXY=http://127.0.0.1:37725/mod GONOSUMDB=* > env BANANA @@ -963,17 +999,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:35731/mod + GOPROXY=http://127.0.0.1:37725/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.101s) + # no GOPROXY, with pass-through, no proxy (0.028s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -997,11 +1033,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.014s) + # no GOPROXY, with pass-through, with proxy (0.016s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1027,11 +1063,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.015s) + # with GOPROXY, no pass-through, no proxy (0.016s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1056,7 +1092,7 @@ > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1065,7 +1101,7 @@ :=: $=$ exe= - GOPROXY=http://127.0.0.1:41793/mod + GOPROXY=http://127.0.0.1:41993/mod GONOSUMDB=* > env BANANA @@ -1073,17 +1109,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:41793/mod + GOPROXY=http://127.0.0.1:41993/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.012s) + # 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-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1107,11 +1143,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.025s) + # with GOPROXY, with pass-through, with proxy (0.011s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/sbin:/sbin:/usr/games + PATH=/tmp/testscript-main734376835/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=/no-home TMPDIR=$WORK/.tmp @@ -1140,7 +1176,7 @@ === NAME TestScripts/continue testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1160,21 +1196,21 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support -continue (0.009s) + # 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.622s) + # both commands. (0.189s) > ! testscript -continue file.txt [stdout] > grep banana in [in] apple - FAIL: $WORK/.tmp/testscript3972232130/file.txt/script.txtar:1: no match for `banana` found in in + FAIL: $WORK/.tmp/testscript3405490509/file.txt/script.txtar:1: no match for `banana` found in in > grep apple in [stderr] - error running file.txt in $WORK/.tmp/testscript3972232130/file.txt + error running file.txt in $WORK/.tmp/testscript3405490509/file.txt [exit status 1] > stdout 'grep banana in' @@ -1182,9 +1218,9 @@ > stdout 'grep apple in' PASS -=== NAME TestScripts/noproxy +=== NAME TestScripts/skip testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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,16 +1240,12 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. - # Note that Go 1.21 started quoting with single quotes in "go env", - # where older versions used double quotes. (0.611s) - > env GOPROXY=0.1.2.3 + # should support skip (0.177s) > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1228,66 +1260,21 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_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='gcc' - CGO_CFLAGS='-O2 -g' - CGO_CPPFLAGS='' - CGO_CXXFLAGS='-O2 -g' - CGO_ENABLED='1' - CGO_FFLAGS='-O2 -g' - CGO_LDFLAGS='-O2 -g' - CXX='g++' - GCCGO='gccgo' - GO111MODULE='' - GOAMD64='v1' - GOARCH='amd64' - GOAUTH='netrc' - GOBIN='' - GOCACHE='/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build' - GOCACHEPROG='' - GODEBUG='' - GOENV='/no-home/.config/go/env' - GOEXE='' - GOEXPERIMENT='' - GOFIPS140='off' - GOFLAGS='' - GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build3369669157=/tmp/go-build -gno-record-gcc-switches' - GOHOSTARCH='amd64' - 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_amd64' - GOVCS='' - GOVERSION='go1.24.0' - GOWORK='' - PKG_CONFIG='pkg-config' + go version go1.24.0 linux/amd64 - > [!windows] stdout '^GOPROXY=[''"]0.1.2.3[''"]$' - > [windows] stdout '^set GOPROXY=0.1.2.3$' - PASS + > skip + > stdout 'go version' + > ! stderr .+ PASS === NAME TestScripts/work testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1313,12 +1300,12 @@ # # This test also covers the use of multiple scripts which share # the same basename, ensuring that the naming of the directories - # within the working directory. (0.634s) + # within the working directory. (0.187s) > unquote file.txt dir/file.txt > testscript -v -work file.txt dir/file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1339,7 +1326,7 @@ > exec true PASS WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1360,9 +1347,9 @@ > exec true PASS [stderr] - temporary work directory: $WORK/.tmp/testscript1658407384 - temporary work directory for file.txt: $WORK/.tmp/go-test-script1192343260/script-script - temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script2533240918/script-script + temporary work directory: $WORK/.tmp/testscript219353355 + temporary work directory for file.txt: $WORK/.tmp/go-test-script1210173896/script-script + temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script920649771/script-script > stderr '^temporary work directory: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for dir[/\\]file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' @@ -1370,9 +1357,9 @@ > expandone $WORK/.tmp/testscript*/file.txt1/script.txtar PASS -=== NAME TestScripts/skip +=== NAME TestScripts/update testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1392,12 +1379,28 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.642s) - > 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.060s) + > 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.131s) + > testscript -u - in.txt [stdout] - WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PASS + PASS + $WORK/.tmp/testscript2094658425/in.txt/script.txtar updated + > cmp in.txt res.txt + PASS + +=== NAME TestScripts/noproxy + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main734376835/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 @@ -1414,19 +1417,19 @@ GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.24 + GOINTERNALMODPATH=. + GONOSUMDB=* - > go version + # With no .gomodproxy supporting files, we use the GOPROXY from + # the environment. + # Note that Go 1.21 started quoting with single quotes in "go env", + # where older versions used double quotes. (0.207s) + > env GOPROXY=0.1.2.3 + > unquote file.txt + > testscript -v file.txt [stdout] - go version go1.24.0 linux/amd64 - - > skip - > stdout 'go version' - > ! stderr .+ - PASS - -=== NAME TestScripts/update - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + WORK=$WORK + PATH=/tmp/testscript-main734376835/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 @@ -1441,33 +1444,66 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct + GOPROXY=0.1.2.3 goversion=1.24 - GOINTERNALMODPATH=. - GONOSUMDB=* - # should support the -update flag (0.044s) - > unquote in.txt res.txt - # Should be an error to use -u with only stdin (0.019s) - > 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.654s) - > testscript -u - in.txt + > go env [stdout] + AR='ar' + CC='gcc' + CGO_CFLAGS='-O2 -g' + CGO_CPPFLAGS='' + CGO_CXXFLAGS='-O2 -g' + CGO_ENABLED='1' + CGO_FFLAGS='-O2 -g' + CGO_LDFLAGS='-O2 -g' + CXX='g++' + GCCGO='gccgo' + GO111MODULE='' + GOAMD64='v1' + GOARCH='amd64' + GOAUTH='netrc' + GOBIN='' + GOCACHE='/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build' + GOCACHEPROG='' + GODEBUG='' + GOENV='/no-home/.config/go/env' + GOEXE='' + GOEXPERIMENT='' + GOFIPS140='off' + GOFLAGS='' + GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build3508963698=/tmp/go-build -gno-record-gcc-switches' + GOHOSTARCH='amd64' + 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_amd64' + GOVCS='' + GOVERSION='go1.24.0' + GOWORK='' + PKG_CONFIG='pkg-config' + + > [!windows] stdout '^GOPROXY=[''"]0.1.2.3[''"]$' + > [windows] stdout '^set GOPROXY=0.1.2.3$' PASS PASS - $WORK/.tmp/testscript2872890294/in.txt/script.txtar updated - > cmp in.txt res.txt - PASS -=== NAME TestScripts/error +=== NAME TestScripts/simple testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1487,14 +1523,14 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.030s) + # With .gomodproxy supporting files, any GOPROXY from the + # environment should be overridden by the test proxy. (0.244s) + > env GOPROXY=0.1.2.3 > unquote file.txt - # stdin (0.586s) - > stdin file.txt - > ! testscript -v + > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1509,52 +1545,35 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct + GOPROXY=http://127.0.0.1:35513/mod goversion=1.24 + GONOSUMDB=* - > exec false - [exit status 1] - FAIL: $WORK/.tmp/testscript1375083677/-/script.txtar:1: unexpected command failure + > go get -d fruit.com [stderr] - error running in $WORK/.tmp/testscript1375083677/- + go: -d flag is deprecated. -d=true is a no-op + go: downloading fruit.com v1.0.0 - [exit status 1] - > stderr 'error running in' - # file-based (0.110s) - > ! testscript -v file.txt + > go list -m [stdout] - WORK=$WORK - PATH=/tmp/testscript-main4019803245/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= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=amd64 - GOOS=linux - GOROOT=/usr/lib/go-1.24 - GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.24 + example.com/mod - > exec false - [exit status 1] - FAIL: $WORK/.tmp/testscript1906110932/file.txt/script.txtar:1: unexpected command failure - [stderr] - error running file.txt in $WORK/.tmp/testscript1906110932/file.txt + > stdout 'example.com/mod' + > go list fruit.com/... + [stdout] + fruit.com/coretest + fruit.com/fruit - [exit status 1] - > stderr 'error running file.txt in' + > stdout 'fruit.com/fruit' + > stdout 'fruit.com/coretest' + PASS + > stdout 'example.com/mod' + > ! stderr .+ PASS === NAME TestScripts/env_values testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1574,30 +1593,30 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Test that passing env values, e.g. ENV1=val, works (0.008s) + # Test that passing env values, e.g. ENV1=val, works (0.000s) > unquote test.txt > env BLAH1= > env BLAH2=junk - # Normal operation (0.611s) + # Normal operation (0.181s) > 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.111s) + # of testscript, which has no concept of stderr. (0.071s) > ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt [stdout] - FAIL: $WORK/.tmp/testscript3900384898/test.txt/script.txtar:0: cannot override WORK variable + FAIL: $WORK/.tmp/testscript2995218378/test.txt/script.txtar:0: cannot override WORK variable [stderr] - error running test.txt in $WORK/.tmp/testscript3900384898/test.txt + error running test.txt in $WORK/.tmp/testscript2995218378/test.txt [exit status 1] > stdout 'cannot override WORK variable' PASS -=== NAME TestScripts/simple +=== NAME TestScripts/error testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1617,14 +1636,14 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (1.020s) - > env GOPROXY=0.1.2.3 + # should support skip (0.000s) > unquote file.txt - > testscript -v file.txt + # stdin (0.181s) + > stdin file.txt + > ! testscript -v [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1639,35 +1658,52 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:35553/mod + GOPROXY=https://proxy.golang.org,direct goversion=1.24 - GONOSUMDB=* - > go get -d fruit.com + > exec false + [exit status 1] + FAIL: $WORK/.tmp/testscript651233075/-/script.txtar:1: unexpected command failure [stderr] - go: -d flag is deprecated. -d=true is a no-op - go: downloading fruit.com v1.0.0 + error running in $WORK/.tmp/testscript651233075/- - > go list -m + [exit status 1] + > stderr 'error running in' + # file-based (0.090s) + > ! testscript -v file.txt [stdout] - example.com/mod + WORK=$WORK + PATH=/tmp/testscript-main734376835/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= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=amd64 + GOOS=linux + GOROOT=/usr/lib/go-1.24 + GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.24 - > stdout 'example.com/mod' - > go list fruit.com/... - [stdout] - fruit.com/coretest - fruit.com/fruit + > exec false + [exit status 1] + FAIL: $WORK/.tmp/testscript3891112433/file.txt/script.txtar:1: unexpected command failure + [stderr] + error running file.txt in $WORK/.tmp/testscript3891112433/file.txt - > stdout 'fruit.com/fruit' - > stdout 'fruit.com/coretest' - PASS - > stdout 'example.com/mod' - > ! stderr .+ + [exit status 1] + > stderr 'error running file.txt in' PASS === NAME TestScripts/env_var_with_go testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1693,14 +1729,14 @@ # the string literal $WORK because testscript rewrites the actual directory # to $WORK. Hence we don't want to expand this script's $WORK in such a comparison. # - # This is the counterpart to env_var_no_go.txt (0.039s) + # This is the counterpart to env_var_no_go.txt (0.000s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.566s) + # Baseline (0.186s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1732,11 +1768,11 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.112s) + # no GOPROXY, no pass-through, no proxy (0.090s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1765,11 +1801,11 @@ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.300s) + # no GOPROXY, no pass-through, with proxy (1.427s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1784,7 +1820,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:46857/mod + GOPROXY=http://127.0.0.1:44849/mod goversion=1.24 GONOSUMDB=* @@ -1793,17 +1829,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:46857/mod + GOPROXY=http://127.0.0.1:44849/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.372s) + # no GOPROXY, with pass-through, no proxy (0.143s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1833,11 +1869,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.300s) + # no GOPROXY, with pass-through, with proxy (0.072s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1869,11 +1905,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.138s) + # with GOPROXY, no pass-through, no proxy (0.047s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1902,11 +1938,11 @@ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.235s) + # with GOPROXY, no pass-through, with proxy (0.064s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1921,7 +1957,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:34923/mod + GOPROXY=http://127.0.0.1:37169/mod goversion=1.24 GONOSUMDB=* @@ -1930,17 +1966,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:34923/mod + GOPROXY=http://127.0.0.1:37169/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.182s) + # with GOPROXY, with pass-through, no proxy (0.054s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -1970,11 +2006,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.101s) + # with GOPROXY, with pass-through, with proxy (0.052s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main4019803245/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main734376835/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 @@ -2007,21 +2043,21 @@ > ! stderr .+ PASS ---- PASS: TestScripts (0.30s) - --- PASS: TestScripts/help (0.02s) - --- PASS: TestScripts/nogo (0.05s) - --- PASS: TestScripts/env_var_no_go (0.36s) - --- PASS: TestScripts/continue (0.63s) - --- PASS: TestScripts/noproxy (0.63s) - --- PASS: TestScripts/work (0.64s) - --- PASS: TestScripts/skip (0.66s) - --- PASS: TestScripts/update (0.73s) - --- PASS: TestScripts/error (0.74s) - --- PASS: TestScripts/env_values (0.74s) - --- PASS: TestScripts/simple (1.04s) - --- PASS: TestScripts/env_var_with_go (2.37s) +--- PASS: TestScripts (0.06s) + --- PASS: TestScripts/nogo (0.02s) + --- PASS: TestScripts/help (0.08s) + --- PASS: TestScripts/env_var_no_go (0.15s) + --- PASS: TestScripts/continue (0.19s) + --- PASS: TestScripts/skip (0.19s) + --- PASS: TestScripts/work (0.20s) + --- PASS: TestScripts/update (0.21s) + --- PASS: TestScripts/noproxy (0.22s) + --- PASS: TestScripts/simple (0.26s) + --- PASS: TestScripts/env_values (0.27s) + --- PASS: TestScripts/error (0.28s) + --- PASS: TestScripts/env_var_with_go (2.15s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 2.713s +ok github.com/rogpeppe/go-internal/cmd/testscript 2.212s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -2030,13 +2066,13 @@ === RUN TestScripts/txtar-addmod-self === PAUSE TestScripts/txtar-addmod-self === CONT TestScripts/encode -=== CONT TestScripts/to_stdout === CONT TestScripts/txtar-addmod-self +=== CONT TestScripts/to_stdout go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 === NAME TestScripts/encode testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main322822637/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3567803912/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 @@ -2051,7 +2087,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:36933/mod + GOPROXY=http://127.0.0.1:44579/mod goversion=1.24 GONOSUMDB=* @@ -2064,7 +2100,7 @@ === NAME TestScripts/to_stdout testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main322822637/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3567803912/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 @@ -2079,7 +2115,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:36933/mod + GOPROXY=http://127.0.0.1:44579/mod goversion=1.24 GONOSUMDB=* @@ -2106,7 +2142,7 @@ === NAME TestScripts/txtar-addmod-self testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main322822637/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main3567803912/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 @@ -2121,7 +2157,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:36933/mod + GOPROXY=http://127.0.0.1:44579/mod goversion=1.24 GONOSUMDB=* @@ -2136,11 +2172,11 @@ PASS --- PASS: TestScripts (0.08s) - --- PASS: TestScripts/encode (0.10s) + --- PASS: TestScripts/encode (0.05s) --- PASS: TestScripts/to_stdout (0.14s) - --- PASS: TestScripts/txtar-addmod-self (0.21s) + --- PASS: TestScripts/txtar-addmod-self (0.23s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.309s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.318s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -2152,35 +2188,11 @@ === PAUSE TestScripts/txtar-savedir-self === CONT TestScripts/all === CONT TestScripts/quote -=== CONT TestScripts/needquote === CONT TestScripts/txtar-savedir-self -=== NAME TestScripts/needquote - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main3822422514/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 - +=== CONT TestScripts/needquote === NAME TestScripts/quote testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main3822422514/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4087612054/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 @@ -2204,7 +2216,7 @@ === NAME TestScripts/txtar-savedir-self testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main3822422514/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4087612054/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 @@ -2234,9 +2246,33 @@ > cmp stdout expect PASS +=== NAME TestScripts/needquote + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main4087612054/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/all testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main3822422514/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main4087612054/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 @@ -2248,7 +2284,7 @@ > unquote expect-all > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.008s) + # Without the -a flag, it should ignore . files. (0.006s) > txtar-c blah [stdout] -- go.mod -- @@ -2264,7 +2300,7 @@ } > ! stderr .+ > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.005s) + # With the -a flag, it should include them. (0.004s) > txtar-c -a blah [stdout] -- .foo/foo -- @@ -2287,12 +2323,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/needquote (0.01s) --- PASS: TestScripts/quote (0.01s) --- PASS: TestScripts/txtar-savedir-self (0.01s) + --- PASS: TestScripts/needquote (0.01s) --- PASS: TestScripts/all (0.02s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.024s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.025s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2307,9 +2343,9 @@ === CONT TestScripts/extract-stdin === CONT TestScripts/extract === CONT TestScripts/extract-out-of-bounds -=== NAME TestScripts/extract-dir +=== NAME TestScripts/extract-stdin testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2699679632/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2623382316/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 @@ -2320,14 +2356,15 @@ exe= > unquote file.txtar - > txtar-x -C x/y file.txtar - > cmp x/y/foo expect/foo - > cmp x/y/a/b/bar expect/a/b/bar + > stdin file.txtar + > txtar-x + > cmp foo expect/foo + > cmp a/b/bar expect/a/b/bar PASS -=== NAME TestScripts/extract +=== NAME TestScripts/extract-out-of-bounds testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2699679632/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2623382316/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 @@ -2337,15 +2374,22 @@ $=$ exe= - > unquote file.txtar - > txtar-x file.txtar - > cmp foo expect/foo - > cmp a/b/bar expect/a/b/bar + > unquote file1.txtar file2.txtar + > ! txtar-x file1.txtar + [stderr] + txtar-x: "../foo": outside parent directory + [exit status 1] + > stderr '"\.\./foo": outside parent directory' + > ! txtar-x file2.txtar + [stderr] + txtar-x: "/foo": outside parent directory + [exit status 1] + > stderr '"/foo": outside parent directory' PASS -=== NAME TestScripts/extract-stdin +=== NAME TestScripts/extract testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2699679632/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2623382316/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 @@ -2356,15 +2400,14 @@ exe= > unquote file.txtar - > stdin file.txtar - > txtar-x + > txtar-x file.txtar > cmp foo expect/foo > cmp a/b/bar expect/a/b/bar PASS -=== NAME TestScripts/extract-out-of-bounds +=== NAME TestScripts/extract-dir testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main2699679632/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2623382316/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 @@ -2374,26 +2417,19 @@ $=$ exe= - > unquote file1.txtar file2.txtar - > ! txtar-x file1.txtar - [stderr] - txtar-x: "../foo": outside parent directory - [exit status 1] - > stderr '"\.\./foo": outside parent directory' - > ! txtar-x file2.txtar - [stderr] - txtar-x: "/foo": outside parent directory - [exit status 1] - > stderr '"/foo": outside parent directory' + > unquote file.txtar + > txtar-x -C x/y file.txtar + > cmp x/y/foo expect/foo + > cmp x/y/a/b/bar expect/a/b/bar PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/extract-dir (0.01s) - --- PASS: TestScripts/extract (0.01s) - --- PASS: TestScripts/extract-stdin (0.02s) + --- PASS: TestScripts/extract-stdin (0.01s) --- PASS: TestScripts/extract-out-of-bounds (0.02s) + --- PASS: TestScripts/extract (0.02s) + --- PASS: TestScripts/extract-dir (0.02s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.037s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.032s === RUN Test === RUN Test/allnew.txt === RUN Test/allold.txt @@ -2421,7 +2457,7 @@ --- PASS: Test/start.txt (0.00s) --- PASS: Test/triv.txt (0.00s) PASS -ok github.com/rogpeppe/go-internal/diff 0.013s +ok github.com/rogpeppe/go-internal/diff 0.005s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir @@ -2439,13 +2475,13 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.013s +ok github.com/rogpeppe/go-internal/fmtsort 0.006s === RUN TestScripts === RUN TestScripts/list === PAUSE TestScripts/list === CONT TestScripts/list testscript.go:558: 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 @@ -2460,7 +2496,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.24 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/go-build - GOPROXY=http://127.0.0.1:43609/mod + GOPROXY=http://127.0.0.1:38069/mod goversion=1.24 GONOSUMDB=* @@ -2485,19 +2521,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.014s) + # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.010s) > go mod tidy [stderr] go: warning: "all" matched no packages PASS ---- PASS: TestScripts (0.16s) - --- PASS: TestScripts/list (0.15s) +--- PASS: TestScripts (0.06s) + --- PASS: TestScripts/list (0.09s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.337s +ok github.com/rogpeppe/go-internal/goproxytest 0.166s === RUN TestInitGoEnv ---- PASS: TestInitGoEnv (0.14s) +--- PASS: TestInitGoEnv (0.05s) === RUN TestSimple === RUN TestSimple/cover === PAUSE TestSimple/cover @@ -2509,7 +2545,7 @@ === CONT TestSimple/version === CONT TestSimple/env testscript.go:558: 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 @@ -2529,7 +2565,7 @@ GOINTERNAL_MODULE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.12.0/_build/src/github.com/rogpeppe/go-internal # GOPATH and GOMODCACHE are not shared with the host, - # but GOCACHE is. (0.051s) + # but GOCACHE is. (0.016s) > go env [stdout] AR='ar' @@ -2555,7 +2591,7 @@ GOEXPERIMENT='' GOFIPS140='off' GOFLAGS='' - GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build3458009935=/tmp/go-build -gno-record-gcc-switches' + GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/.tmp/go-build1080275844=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' @@ -2586,7 +2622,7 @@ === NAME TestSimple/version testscript.go:558: 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 @@ -2617,7 +2653,7 @@ === NAME TestSimple/cover testscript.go:1163: testscript.go:558: 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 @@ -2638,25 +2674,25 @@ > unquote scripts/exec.txt # The module uses testscript itself. - # Use the checked out module, based on where the test binary ran. (0.498s) + # Use the checked out module, based on where the test binary ran. (0.174s) > 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.9.0: Get "https://proxy.golang.org/golang.org/x/mod/@v/v0.9.0.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:48219->[::1]:53: read: connection refused + golang.org/x/mod@v0.9.0: Get "https://proxy.golang.org/golang.org/x/mod/@v/v0.9.0.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54196->[::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.14s) - --- PASS: TestSimple/env (0.05s) - --- PASS: TestSimple/version (0.14s) - --- SKIP: TestSimple/cover (0.50s) +--- PASS: TestSimple (0.07s) + --- PASS: TestSimple/env (0.02s) + --- PASS: TestSimple/version (0.10s) + --- SKIP: TestSimple/cover (0.18s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.801s +ok github.com/rogpeppe/go-internal/gotooltest 0.312s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2670,7 +2706,7 @@ === RUN TestScanStar --- PASS: TestScanStar (0.00s) PASS -ok github.com/rogpeppe/go-internal/imports 0.031s +ok github.com/rogpeppe/go-internal/imports 0.014s === RUN TestAlmostEqual === PAUSE TestAlmostEqual === CONT TestAlmostEqual @@ -2702,7 +2738,7 @@ --- PASS: FuzzAlmostEqual/b323cef1fc26e507 (0.00s) --- PASS: FuzzAlmostEqual/c6edde4256d6f5eb (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/misspell 0.032s +ok github.com/rogpeppe/go-internal/internal/misspell 0.008s ? 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] @@ -2713,10 +2749,9 @@ === RUN TestCanLockExistingFile === PAUSE TestCanLockExistingFile === RUN TestSpuriousEDEADLK - lockedfile_test.go:282: Edit A and B in subprocess is unexpectedly still blocked after 10ms ---- PASS: TestSpuriousEDEADLK (0.06s) +--- PASS: TestSpuriousEDEADLK (0.03s) === RUN TestTransform ---- PASS: TestTransform (1.48s) +--- PASS: TestTransform (2.23s) === CONT TestMutexExcludes === CONT TestCanLockExistingFile === CONT TestReadWaitsForLock @@ -2726,18 +2761,20 @@ lockedfile_test.go:94: mu2 := MutexAt(mu.Path) === NAME TestReadWaitsForLock lockedfile_test.go:134: WriteString("part 1\n") = ---- PASS: TestCanLockExistingFile (0.01s) === NAME TestMutexExcludes lockedfile_test.go:107: unlock() lockedfile_test.go:102: unlock2, _ := mu2.Lock() - lockedfile_test.go:103: unlock2() ---- PASS: TestMutexExcludes (0.02s) === NAME TestReadWaitsForLock lockedfile_test.go:156: WriteString("part 2\n") = +=== NAME TestMutexExcludes + lockedfile_test.go:103: unlock2() +=== NAME TestReadWaitsForLock lockedfile_test.go:146: Read(_) = "part 1\npart 2\n" ---- PASS: TestReadWaitsForLock (0.16s) +--- PASS: TestCanLockExistingFile (0.01s) +--- PASS: TestMutexExcludes (0.01s) +--- PASS: TestReadWaitsForLock (0.01s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 1.706s +ok github.com/rogpeppe/go-internal/lockedfile 2.276s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2745,62 +2782,68 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:188: fd 6 = /tmp/TestLockNotDroppedByExecCommand2080367827 + filelock_test.go:188: fd 6 = /tmp/TestLockNotDroppedByExecCommand1381665924 filelock_test.go:191: Lock(fd 6) = - filelock_test.go:193: fd 7 = os.Open("/tmp/TestLockNotDroppedByExecCommand2080367827") + filelock_test.go:193: fd 7 = os.Open("/tmp/TestLockNotDroppedByExecCommand1381665924") filelock_test.go:204: Lock(fd 7) is blocked (as expected) filelock_test.go:205: Unlock(fd 6) = asm_amd64.s:1700: Lock(fd 7) = filelock_test.go:207: Unlock(fd 7) = ---- PASS: TestLockNotDroppedByExecCommand (0.05s) +--- PASS: TestLockNotDroppedByExecCommand (0.02s) === CONT TestLockExcludesLock - filelock_test.go:121: fd 6 = /tmp/TestLockExcludesLock1752445935 - filelock_test.go:124: fd 7 = os.Open("/tmp/TestLockExcludesLock1752445935") - filelock_test.go:127: Lock(fd 6) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:153: fd 8 = /tmp/TestRLockExcludesOnlyLock2500156696 - filelock_test.go:155: RLock(fd 8) = - filelock_test.go:157: fd 9 = os.Open("/tmp/TestRLockExcludesOnlyLock2500156696") +=== NAME TestLockExcludesLock + filelock_test.go:121: fd 6 = /tmp/TestLockExcludesLock1900512403 + filelock_test.go:124: fd 8 = os.Open("/tmp/TestLockExcludesLock1900512403") +=== NAME TestRLockExcludesOnlyLock + filelock_test.go:153: fd 7 = /tmp/TestRLockExcludesOnlyLock422263691 +=== NAME TestLockExcludesLock + filelock_test.go:127: Lock(fd 6) = +=== NAME TestRLockExcludesOnlyLock + filelock_test.go:155: RLock(fd 7) = + filelock_test.go:157: fd 9 = os.Open("/tmp/TestRLockExcludesOnlyLock422263691") filelock_test.go:171: RLock(fd 9) = - filelock_test.go:175: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock2500156696") + filelock_test.go:175: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock422263691") === CONT TestLockExcludesRLock - filelock_test.go:137: fd 11 = /tmp/TestLockExcludesRLock2488216190 - filelock_test.go:140: fd 12 = os.Open("/tmp/TestLockExcludesRLock2488216190") + filelock_test.go:137: fd 11 = /tmp/TestLockExcludesRLock3273728289 + filelock_test.go:140: fd 12 = os.Open("/tmp/TestLockExcludesRLock3273728289") filelock_test.go:143: Lock(fd 11) = + filelock_test.go:144: RLock(fd 12) is blocked (as expected) === NAME TestLockExcludesLock - filelock_test.go:128: Lock(fd 7) is blocked (as expected) + filelock_test.go:128: Lock(fd 8) is blocked (as expected) filelock_test.go:129: Unlock(fd 6) = === NAME TestRLockExcludesOnlyLock 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:144: RLock(fd 12) is blocked (as expected) + asm_amd64.s:1700: RLock(fd 12) = filelock_test.go:145: Unlock(fd 11) = === NAME TestRLockExcludesOnlyLock - asm_amd64.s:1700: Lock(fd 10) = - filelock_test.go:184: Unlock(fd 10) = ---- PASS: TestRLockExcludesOnlyLock (0.01s) + filelock_test.go:179: Unlock(fd 9) = === NAME TestLockExcludesRLock - asm_amd64.s:1700: RLock(fd 12) = filelock_test.go:147: Unlock(fd 12) = ---- PASS: TestLockExcludesRLock (0.01s) +=== NAME TestRLockExcludesOnlyLock + filelock_test.go:181: Unlock(fd 7) = === NAME TestLockExcludesLock - asm_amd64.s:1700: Lock(fd 7) = - filelock_test.go:131: Unlock(fd 7) = ---- PASS: TestLockExcludesLock (0.01s) + asm_amd64.s:1700: Lock(fd 8) = + filelock_test.go:131: Unlock(fd 8) = +=== NAME TestRLockExcludesOnlyLock + asm_amd64.s:1700: Lock(fd 10) = + filelock_test.go:184: Unlock(fd 10) = +--- PASS: TestLockExcludesRLock (0.01s) +--- PASS: TestRLockExcludesOnlyLock (0.01s) +--- PASS: TestLockExcludesLock (0.02s) PASS -ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.097s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.041s ? github.com/rogpeppe/go-internal/modfile [no test files] ? github.com/rogpeppe/go-internal/module [no test files] === RUN TestWork ---- PASS: TestWork (0.04s) +--- PASS: TestWork (0.03s) === RUN TestWorkParallel --- PASS: TestWorkParallel (0.00s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.081s +ok github.com/rogpeppe/go-internal/par 0.041s ? 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] @@ -2890,64 +2933,85 @@ === RUN TestScripts/wait === PAUSE TestScripts/wait === CONT TestScripts/big_diff -=== CONT TestScripts/wait -=== CONT TestScripts/readfile -=== CONT TestScripts/exec_path_change -=== CONT TestScripts/values - testscript.go:558: > test-values - PASS - === CONT TestScripts/pty -=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/testscript_stdout_stderr_error +=== CONT TestScripts/readfile +=== CONT TestScripts/wait +=== CONT TestScripts/evalsymlink +=== CONT TestScripts/testscript_duplicate_name +=== CONT TestScripts/defer +=== CONT TestScripts/hello === CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/cpstdout +=== CONT TestScripts/values +=== CONT TestScripts/command +=== CONT TestScripts/cond +=== CONT TestScripts/interrupt +=== CONT TestScripts/cmpenv === CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/cmd_stdout_stderr === CONT TestScripts/testscript_update_script_actual_is_file === CONT TestScripts/testscript_update_script -=== CONT TestScripts/testscript_stdout_stderr_error -=== CONT TestScripts/testscript_notfound +=== CONT TestScripts/setupfiles +=== CONT TestScripts/stdin +=== CONT TestScripts/execguard +=== CONT TestScripts/exists +=== CONT TestScripts/exec_path_change +=== CONT TestScripts/setenv +=== CONT TestScripts/regexpquote +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/long_diff +=== CONT TestScripts/nothing === CONT TestScripts/testscript_logging +=== CONT TestScripts/testscript_notfound === CONT TestScripts/testscript_explicit_exec -=== CONT TestScripts/testscript_duplicate_name -=== CONT TestScripts/stdin -=== CONT TestScripts/setupfiles +=== CONT TestScripts/commandstatus +=== NAME TestScripts/setupfiles testscript.go:558: # 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/interrupt -=== CONT TestScripts/nothing -=== CONT TestScripts/regexpquote +=== NAME TestScripts/values + testscript.go:558: > test-values + PASS + === NAME TestScripts/nothing testscript.go:558: # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS -=== CONT TestScripts/setenv +=== NAME TestScripts/exists + testscript.go:558: > 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 + +=== NAME TestScripts/cmpenv + testscript.go:558: > env $=$ + > cmpenv file1 file2 + PASS + +=== NAME TestScripts/defer + testscript.go:558: > testdefer + > testdefer + > testdefer + PASS + === NAME TestScripts/regexpquote testscript.go:558: > env XXX='hello)' > grep ^${XXX@R}$ file.txt PASS -=== CONT TestScripts/hello -=== CONT TestScripts/exists === NAME TestScripts/setenv testscript.go:558: > setSpecialVal > exists $SPECIALVAL.txt > ensureSpecialVal PASS -=== NAME TestScripts/exists - testscript.go:558: > 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 -=== CONT TestScripts/evalsymlink === NAME TestScripts/execguard testscript.go:558: > [exec:nosuchcommand] exec nosuchcommand > [!exec:cat] stop @@ -2957,13 +3021,26 @@ > stdout 'foo\n' PASS -=== CONT TestScripts/defer - testscript.go:558: > testdefer - > testdefer - > testdefer +=== NAME TestScripts/testscript_stdout_stderr_error + testscript.go:558: # 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] + > 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 -=== CONT TestScripts/cpstdout === NAME TestScripts/testscript_update_script_actual_is_file testscript.go:558: > unquote scripts/testscript.txt > unquote testscript-new.txt @@ -2975,30 +3052,17 @@ > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/cond -=== NAME TestScripts/testscript_notfound - testscript.go:558: # Check that unknown commands output a useful error message (0.000s) - > ! testscript notfound - [stdout] - > notexist - FAIL: $WORK/notfound/script.txt:1: unknown command "notexist" - - > stdout 'unknown command "notexist"' - > ! testscript negation - [stdout] - > !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 +=== NAME TestScripts/testscript_update_script_quote + testscript.go:558: > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts [stdout] - > exits file - FAIL: $WORK/misspelled/script.txt:1: unknown command "exits" (did you mean "exists"?) + PASS + $WORK/scripts/testscript.txt updated - > stdout 'unknown command "exits" \(did you mean "exists"\?\)' + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/commandstatus === NAME TestScripts/cond testscript.go:558: # test that exactly one of gc and gccgo is set (0.000s) > [gc] mkdir gc_true @@ -3020,50 +3084,7 @@ > [windows] ! exists unix_true PASS -=== NAME TestScripts/testscript_stdout_stderr_error - testscript.go:558: # 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] - > 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/cpstdout - testscript.go:558: > [!exec:cat] stop - # hello world (0.000s) - > exec cat hello.text - [stdout] - hello world - > cp stdout got - > cmp got hello.text - > ! cmp got different.text - > exists got - > mv got new - > ! exists got - > cmp new hello.text - PASS - -=== CONT TestScripts/command -=== CONT TestScripts/cmpenv -=== CONT TestScripts/cmd_stdout_stderr -=== NAME TestScripts/cmpenv - testscript.go:558: > env $=$ - > cmpenv file1 file2 - PASS - -=== CONT TestScripts/long_diff +=== NAME TestScripts/long_diff testscript.go:558: # Verify the behaviour of cmp in the case of a small diff between # two large files (0.000s) > unquote dir/script.txt @@ -3084,7 +3105,7 @@ > env WORK=$WORK - PATH=/tmp/testscript-main3538258669/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main774833231/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 @@ -3097,35 +3118,36 @@ > cmpenv stdout stdout.golden PASS -=== NAME TestScripts/evalsymlink - testscript.go:558: # 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 +=== NAME TestScripts/hello + testscript.go:558: > [!exec:cat] stop + # hello world (0.000s) + > exec cat hello.text [stdout] - $WORK - > stdout ^$WORK$ + hello world + > stdout 'hello world\n' + > ! stderr . PASS -=== NAME TestScripts/testscript_update_script - testscript.go:558: # 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 +=== NAME TestScripts/interrupt + testscript.go:558: > [windows] skip + > signalcatcher & + > waitfile catchsignal + > interrupt + > wait + [background] signalcatcher: exit status 0 [stdout] + caught interrupt + > stdout 'caught interrupt' PASS - $WORK/scripts/testscript.txt updated - PASS - $WORK/scripts/testscript2.txtar updated - > cmp scripts/testscript.txt testscript-new.txt - > cmp scripts/testscript2.txtar testscript-new.txt +=== NAME TestScripts/pty + testscript.go:558: > [!linux] [!darwin] skip + > [darwin] skip # https://go.dev/issue/61779 + > ttyin secretwords.txt + > terminalprompt + > ttyout 'magic words' + > ! stderr . + > ! stdout . PASS === NAME TestScripts/command @@ -3135,6 +3157,55 @@ > stdout '\["printargs" "a" "b" "c d"\]\n' PASS +=== NAME TestScripts/readfile + testscript.go:558: > fprintargs stdout stdout + [stdout] + stdout + > testreadfile stdout + > fprintargs stderr stderr + [stderr] + stderr + > testreadfile stderr + > testreadfile x/somefile + PASS + +=== NAME TestScripts/testscript_notfound + testscript.go:558: # Check that unknown commands output a useful error message (0.000s) + > ! testscript notfound + [stdout] + > notexist + FAIL: $WORK/notfound/script.txt:1: unknown command "notexist" + + > stdout 'unknown command "notexist"' + > ! testscript negation + [stdout] + > !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] + > exits file + FAIL: $WORK/misspelled/script.txt:1: unknown command "exits" (did you mean "exists"?) + + > stdout 'unknown command "exits" \(did you mean "exists"\?\)' + PASS + +=== NAME TestScripts/evalsymlink + testscript.go:558: # 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/big_diff testscript.go:558: # Verify the behaviour of cmp in the case of a diff between two # large files (with a large diff) (0.000s) @@ -5203,7 +5274,7 @@ > env WORK=$WORK - PATH=/tmp/testscript-main3538258669/bin:/usr/lib/go-1.24/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main774833231/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 @@ -5231,127 +5302,19 @@ > stdout '.* would overwrite .* \(because RequireUniqueNames is enabled\)' PASS -=== NAME TestScripts/testscript_update_script_quote - testscript.go:558: > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - [stdout] - PASS - $WORK/scripts/testscript.txt updated - - > cmp scripts/testscript.txt testscript-new.txt - PASS - -=== NAME TestScripts/testscript_update_script_stderr - testscript.go:558: > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - [stdout] - PASS - $WORK/scripts/testscript.txt updated - - > cmp scripts/testscript.txt testscript-new.txt - PASS - -=== NAME TestScripts/hello +=== NAME TestScripts/cpstdout testscript.go:558: > [!exec:cat] stop # hello world (0.000s) > exec cat hello.text [stdout] hello world - > stdout 'hello world\n' - > ! stderr . - PASS - -=== NAME TestScripts/interrupt - testscript.go:558: > [windows] skip - > signalcatcher & - > waitfile catchsignal - > interrupt - > wait - [background] signalcatcher: exit status 0 - [stdout] - caught interrupt - > stdout 'caught interrupt' - PASS - -=== NAME TestScripts/readfile - testscript.go:558: > fprintargs stdout stdout - [stdout] - stdout - > testreadfile stdout - > fprintargs stderr stderr - [stderr] - stderr - > testreadfile stderr - > testreadfile x/somefile - PASS - -=== NAME TestScripts/testscript_update_script_expected_not_in_archive - testscript.go:558: # 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] - > 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/pty - testscript.go:558: > [!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:558: > ! status 1 - [exit status 1] - > ! status 2 - [exit status 2] - > status 0 - PASS - -=== NAME TestScripts/testscript_explicit_exec - testscript.go:558: # 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] - PASS - - > testscript scripts-explicit - [stdout] - PASS - - > ! testscript -explicit-exec scripts-implicit - [stdout] - > 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] - PASS - + > cp stdout got + > cmp got hello.text + > ! cmp got different.text + > exists got + > mv got new + > ! exists got + > cmp new hello.text PASS === NAME TestScripts/wait @@ -5409,6 +5372,48 @@ [background] sleep 86400: signal: interrupt PASS +=== NAME TestScripts/commandstatus + testscript.go:558: > ! status 1 + [exit status 1] + > ! status 2 + [exit status 2] + > status 0 + PASS + +=== NAME TestScripts/testscript_update_script_stderr + testscript.go:558: > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + [stdout] + 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:558: # 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] + > 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/stdin testscript.go:558: > [!exec:cat] skip > stdin hello.txt @@ -5433,6 +5438,22 @@ > stdout hello PASS +=== NAME TestScripts/testscript_update_script + testscript.go:558: # 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] + PASS + $WORK/scripts/testscript.txt updated + PASS + $WORK/scripts/testscript2.txtar updated + + > cmp scripts/testscript.txt testscript-new.txt + > cmp scripts/testscript2.txtar testscript-new.txt + PASS + === NAME TestScripts/cmd_stdout_stderr testscript.go:558: # Verify that when we don't update stdout when we don't attempt to write via Stdout() (0.000s) > fprintargs stdout hello stdout from fprintargs @@ -5492,6 +5513,32 @@ > stderr 'hello stderr from echoandexit' PASS +=== NAME TestScripts/testscript_explicit_exec + testscript.go:558: # 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] + PASS + + > testscript scripts-explicit + [stdout] + PASS + + > ! testscript -explicit-exec scripts-implicit + [stdout] + > 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] + PASS + + PASS + === NAME TestScripts/testscript_logging testscript.go:558: # non-verbose, non-continue (0.000s) > ! testscript scripts @@ -5607,48 +5654,48 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/values (0.00s) - --- PASS: TestScripts/setupfiles (0.00s) - --- PASS: TestScripts/regexpquote (0.01s) - --- PASS: TestScripts/nothing (0.02s) - --- PASS: TestScripts/setenv (0.03s) - --- PASS: TestScripts/exists (0.01s) - --- PASS: TestScripts/execguard (0.05s) - --- PASS: TestScripts/defer (0.00s) - --- PASS: TestScripts/testscript_update_script_actual_is_file (0.09s) - --- PASS: TestScripts/testscript_notfound (0.09s) - --- PASS: TestScripts/testscript_stdout_stderr_error (0.11s) - --- PASS: TestScripts/cpstdout (0.03s) - --- PASS: TestScripts/cond (0.02s) - --- PASS: TestScripts/cmpenv (0.00s) - --- PASS: TestScripts/long_diff (0.01s) - --- PASS: TestScripts/evalsymlink (0.09s) - --- PASS: TestScripts/testscript_update_script (0.16s) - --- PASS: TestScripts/command (0.06s) - --- PASS: TestScripts/big_diff (0.19s) - --- PASS: TestScripts/testscript_duplicate_name (0.20s) - --- PASS: TestScripts/testscript_update_script_quote (0.20s) - --- PASS: TestScripts/testscript_update_script_stderr (0.21s) - --- PASS: TestScripts/hello (0.19s) - --- PASS: TestScripts/interrupt (0.21s) - --- PASS: TestScripts/readfile (0.21s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.23s) - --- PASS: TestScripts/pty (0.25s) - --- PASS: TestScripts/commandstatus (0.18s) - --- PASS: TestScripts/testscript_explicit_exec (0.28s) - --- PASS: TestScripts/wait (0.29s) - --- PASS: TestScripts/stdin (0.31s) - --- PASS: TestScripts/cmd_stdout_stderr (0.20s) - --- PASS: TestScripts/testscript_logging (0.69s) - --- PASS: TestScripts/exec_path_change (15.19s) + --- PASS: TestScripts/values (0.04s) + --- PASS: TestScripts/hello (0.04s) + --- PASS: TestScripts/regexpquote (0.03s) + --- PASS: TestScripts/interrupt (0.04s) + --- PASS: TestScripts/testscript_update_script_quote (0.04s) + --- PASS: TestScripts/nothing (0.03s) + --- PASS: TestScripts/cmpenv (0.05s) + --- PASS: TestScripts/pty (0.05s) + --- PASS: TestScripts/command (0.05s) + --- PASS: TestScripts/long_diff (0.04s) + --- PASS: TestScripts/evalsymlink (0.05s) + --- PASS: TestScripts/exists (0.05s) + --- PASS: TestScripts/testscript_notfound (0.04s) + --- PASS: TestScripts/defer (0.06s) + --- PASS: TestScripts/setupfiles (0.07s) + --- PASS: TestScripts/testscript_update_script_actual_is_file (0.07s) + --- PASS: TestScripts/testscript_duplicate_name (0.07s) + --- PASS: TestScripts/cond (0.07s) + --- PASS: TestScripts/setenv (0.12s) + --- PASS: TestScripts/execguard (0.12s) + --- PASS: TestScripts/cpstdout (0.13s) + --- PASS: TestScripts/readfile (0.13s) + --- PASS: TestScripts/wait (0.13s) + --- PASS: TestScripts/big_diff (0.13s) + --- PASS: TestScripts/commandstatus (0.10s) + --- PASS: TestScripts/testscript_stdout_stderr_error (0.13s) + --- PASS: TestScripts/testscript_update_script_stderr (0.12s) + --- PASS: TestScripts/stdin (0.13s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.14s) + --- PASS: TestScripts/testscript_update_script (0.14s) + --- PASS: TestScripts/cmd_stdout_stderr (0.15s) + --- PASS: TestScripts/testscript_explicit_exec (0.12s) + --- PASS: TestScripts/testscript_logging (0.20s) + --- PASS: TestScripts/exec_path_change (7.19s) === RUN TestTestwork ---- PASS: TestTestwork (3.96s) +--- PASS: TestTestwork (1.30s) === RUN TestWorkdirRoot === RUN TestWorkdirRoot/run_tests === RUN TestWorkdirRoot/run_tests/nothing === PAUSE TestWorkdirRoot/run_tests/nothing === CONT TestWorkdirRoot/run_tests/nothing - testscript.go:558: WORK=/tmp/1883297333/script-nothing + testscript.go:558: WORK=/tmp/1880632452/script-nothing # Intentionally empty test script; used to test Params.WorkdirRoot (0.000s) PASS @@ -5660,7 +5707,7 @@ === RUN TestUNIX2DOS --- PASS: TestUNIX2DOS (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 19.184s +ok github.com/rogpeppe/go-internal/testscript 8.506s ? github.com/rogpeppe/go-internal/testscript/internal/pty [no test files] === RUN Test === RUN Test/basic @@ -5689,7 +5736,7 @@ --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.041s +ok github.com/rogpeppe/go-internal/txtar 0.006s 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 1155 (offset 57 lines). @@ -5728,12 +5775,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3973735/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3973735/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/3209794 and its subdirectories -I: Current time: Tue Mar 4 01:46:29 -12 2025 -I: pbuilder-time-stamp: 1741095989 +I: removing directory /srv/workspace/pbuilder/3973735 and its subdirectories +I: Current time: Tue Apr 7 10:12:45 +14 2026 +I: pbuilder-time-stamp: 1775506365