Index: doc/progs/run |
=================================================================== |
--- a/doc/progs/run |
+++ b/doc/progs/run |
@@ -15,7 +15,7 @@ |
rm -f *.$O |
if [ "$GOOS" = "windows" ];then |
- $GC -o file.8 file_windows.go |
+ $GC -o file.$O file_windows.go |
else |
$GC file.go |
fi |
@@ -62,7 +62,11 @@ |
testit helloworld "" "Hello, world; or Καλημέρα κόσμε; or こんにちは 世界" |
-testit helloworld3 "" "hello, world can't open file; err=no such file or directory" |
+if [ "$GOOS" = "windows" ];then |
+ testit helloworld3 "" "hello, world can't open file; err=The system cannot find the path specified." |
+else |
+ testit helloworld3 "" "hello, world can't open file; err=no such file or directory" |
+fi |
testit echo "hello, world" "hello, world" |
testit sum "" "6" |
testit strings "" "" |