summaryrefslogtreecommitdiffstats
path: root/tests/exec.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-07-18 12:22:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-07-18 12:22:17 (GMT)
commit7f40dea1efc31fc14c832405c46361bc49a52ea7 (patch)
tree4c6ec4a0b70f45eb7ced1f0ab91ac0d7940f53e9 /tests/exec.test
parent4e7d04385e3894b881f8be44e2c25dc2931ac896 (diff)
parent1bd8f407a5fc44a8b7a54bb78d8d29a2e5b0358f (diff)
downloadtcl-dkf_http_cookies.zip
tcl-dkf_http_cookies.tar.gz
tcl-dkf_http_cookies.tar.bz2
merge trunkdkf_http_cookies
Diffstat (limited to 'tests/exec.test')
-rw-r--r--tests/exec.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exec.test b/tests/exec.test
index 871c0c5..16a8320 100644
--- a/tests/exec.test
+++ b/tests/exec.test
@@ -370,7 +370,7 @@ err}
test exec-10.1 {errors in exec invocation} -constraints {exec} -body {
exec
-} -returnCodes error -result {wrong # args: should be "exec ?-switch ...? arg ?arg ...?"}
+} -returnCodes error -result {wrong # args: should be "exec ?-option ...? arg ?arg ...?"}
test exec-10.2 {errors in exec invocation} -constraints {exec} -body {
exec | cat
} -returnCodes error -result {illegal use of | or |& in command}
@@ -545,10 +545,10 @@ test exec-14.1 {-keepnewline switch} {exec} {
} "foo\n"
test exec-14.2 {-keepnewline switch} -constraints {exec} -body {
exec -keepnewline
-} -returnCodes error -result {wrong # args: should be "exec ?-switch ...? arg ?arg ...?"}
+} -returnCodes error -result {wrong # args: should be "exec ?-option ...? arg ?arg ...?"}
test exec-14.3 {unknown switch} -constraints {exec} -body {
exec -gorp
-} -returnCodes error -result {bad switch "-gorp": must be -ignorestderr, -keepnewline, or --}
+} -returnCodes error -result {bad option "-gorp": must be -ignorestderr, -keepnewline, or --}
test exec-14.4 {-- switch} -constraints {exec} -body {
exec -- -gorp
} -returnCodes error -result {couldn't execute "-gorp": no such file or directory}