diff options
Diffstat (limited to 'doc/progs/run')
| -rwxr-xr-x | doc/progs/run | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/progs/run b/doc/progs/run index e04c1031e..ece3fcaf1 100755 --- a/doc/progs/run +++ b/doc/progs/run @@ -16,6 +16,9 @@ for i in \ sum.go \ sort.go \ sortmain.go \ + print.go \ + printf.go \ + print_string.go \ sieve.go \ sieve1.go \ server1.go \ @@ -46,7 +49,7 @@ function testitpipe { testit helloworld "" "Hello, world; or Καλημέρα κόσμε; or こんにちは 世界" testit helloworld2 "" "Hello, world; or Καλημέρα κόσμε; or こんにちは 世界" -testit helloworld3 "" "hello, world can't open file; errno=2" +testit helloworld3 "" "hello, world can't open file; err=No such file or directory" testit echo "hello, world" "hello, world" testit sum "" "6" @@ -58,6 +61,10 @@ echo $rot13 | testit cat_rot13 "--rot13" $alphabet testit sortmain "" "Sunday Monday Tuesday Thursday Friday" +testit print "" "18446744073709551615 -1 18446744073709551615 {77 Sunset Strip} [1 2 3 4] 18446744073709551615 {77 Sunset Strip} [1 2 3 4] 18446744073709551615 {77 Sunset Strip} [1 2 3 4]" +testit printf "" "hello, world" +testit print_string "" "77 Sunset Strip" + testitpipe sieve "sed 10q" "2 3 5 7 11 13 17 19 23 29" testitpipe sieve "sed 10q" "2 3 5 7 11 13 17 19 23 29" |
