summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/run_dirs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/run_dirs.txt')
-rw-r--r--src/cmd/go/testdata/script/run_dirs.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/run_dirs.txt b/src/cmd/go/testdata/script/run_dirs.txt
new file mode 100644
index 0000000..538a6ac
--- /dev/null
+++ b/src/cmd/go/testdata/script/run_dirs.txt
@@ -0,0 +1,11 @@
+cd rundir
+
+! go run x.go sub/sub.go
+stderr 'named files must all be in one directory; have ./ and sub/'
+! go run sub/sub.go x.go
+stderr 'named files must all be in one directory; have sub/ and ./'
+
+-- rundir/sub/sub.go --
+package main
+-- rundir/x.go --
+package main