aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/set.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-02 14:19:30 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-02 16:09:47 +0300
commitd1ab8f029560057dd17d853f2ffa4dd92780e23a (patch)
tree779c8e4cf9e1baeb9fb832eac1dd8b5a0b541c65 /tests/test/script/runner/set.test
parent2017c59a4a68a179e0eadc0183f0138e7964835e (diff)
Cleanup testscript runner diagnostics
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
}