aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 12:10:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:41:08 +0300
commitcd090e741cdee437632554d22c5ae84572c7267f (patch)
tree0a1bd864633d925297edc2e55b1cb51ae089d50e /tests/test/script/runner
parentd3514286b136691279f104c92fe08dada1f042ab (diff)
Combine multiple single-character flags into a single argument for testscript commands
Diffstat (limited to 'tests/test/script/runner')
-rw-r--r--tests/test/script/runner/cleanup.testscript2
-rw-r--r--tests/test/script/runner/set.testscript8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/test/script/runner/cleanup.testscript b/tests/test/script/runner/cleanup.testscript
index b9f0934..429efb3 100644
--- a/tests/test/script/runner/cleanup.testscript
+++ b/tests/test/script/runner/cleanup.testscript
@@ -100,7 +100,7 @@ b += --no-column
:
$c <<EOI && $b
mkdir ../../a;
- rm -r -f ../../a
+ rm -rf ../../a
EOI
: not-exists
diff --git a/tests/test/script/runner/set.testscript b/tests/test/script/runner/set.testscript
index edbff3e..20263e0 100644
--- a/tests/test/script/runner/set.testscript
+++ b/tests/test/script/runner/set.testscript
@@ -106,7 +106,7 @@
: trailing-ws
:
$c <<EOI && $b
- set -e -w baz <' foo bar ';
+ set --exact --whitespace baz <' foo bar ';
echo $baz >'foo bar '
EOI
@@ -116,7 +116,7 @@
: ':' modifier.
:
$c <<EOI && $b
- set -e -w baz <:' foo bar';
+ set --exact --whitespace baz <:' foo bar';
echo $baz >'foo bar'
EOI
}
@@ -144,7 +144,7 @@
: trailing-newline
:
$c <<EOI && $b
- set -e -n baz <<EOF;
+ set --exact --newline baz <<EOF;
foo
@@ -157,7 +157,7 @@
: no-trailing-newline
:
$c <<EOI && $b
- set -e -n baz <<:EOF;
+ set --exact --newline baz <<:EOF;
foo