diff options
Diffstat (limited to 'src/cmd/go/testdata/script/go_version.txt')
-rw-r--r-- | src/cmd/go/testdata/script/go_version.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/go_version.txt b/src/cmd/go/testdata/script/go_version.txt new file mode 100644 index 0000000..1a787e1 --- /dev/null +++ b/src/cmd/go/testdata/script/go_version.txt @@ -0,0 +1,9 @@ +# test that go version doesn't panic on non-go binaries
+# See Issue #49181
+
+[exec:/bin/true] cp /bin/true true
+[exec:C:\windows\system32\help.exe] cp C:\windows\system32\help.exe help.exe
+
+go version -m .
+! stdout .
+! stderr .
|