github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/cmd/testscript/testdata/nogo.txt (about) 1 # should support skip 2 unquote file.txt 3 4 # We can't just set PATH to empty because we need the part of it that 5 # contains the command names, so use a special builtin instead. 6 dropgofrompath 7 8 ! testscript -v file.txt 9 stdout 'unknown command "go"' 10 stderr 'error running file.txt in' 11 12 -- file.txt -- 13 >go env