aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/set.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/runner/set.test')
-rw-r--r--tests/test/script/runner/set.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test/script/runner/set.test b/tests/test/script/runner/set.test
index 7c24669..aebe9cb 100644
--- a/tests/test/script/runner/set.test
+++ b/tests/test/script/runner/set.test
@@ -10,7 +10,7 @@
: pipelining
:
$c <'set foo | cat >bar' && $b 2>>EOE != 0
- testscript:1:1: error: set builtin must be the last command in a pipe
+ testscript:1:1: error: set builtin must be the last pipe command
EOE
: redirecting
@@ -19,20 +19,20 @@
: stdout
:
$c <'set foo >bar' && $b 2>>EOE != 0
- testscript:1:1: error: set builtin stdout must not be redirected
+ testscript:1:1: error: set builtin stdout cannot be redirected
EOE
: stderr
:
$c <'set foo 2>bar' && $b 2>>EOE != 0
- testscript:1:1: error: set builtin stderr must not be redirected
+ testscript:1:1: error: set builtin stderr cannot be redirected
EOE
}
: status
:
$c <'set foo == 1' && $b 2>>EOE != 0
- testscript:1:1: error: set builtin exit status must not be other than zero
+ testscript:1:1: error: set builtin exit code cannot be non-zero
EOE
}