aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin
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/builtin
parentd3514286b136691279f104c92fe08dada1f042ab (diff)
Combine multiple single-character flags into a single argument for testscript commands
Diffstat (limited to 'tests/test/script/builtin')
-rw-r--r--tests/test/script/builtin/cp.testscript2
-rw-r--r--tests/test/script/builtin/test.testscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test/script/builtin/cp.testscript b/tests/test/script/builtin/cp.testscript
index 46828df..60497b1 100644
--- a/tests/test/script/builtin/cp.testscript
+++ b/tests/test/script/builtin/cp.testscript
@@ -340,7 +340,7 @@ if ($cxx.target.class != 'windows')
ls -l $src_base | sed -n -e '$ds' | \
set t;
- cp -p -r $src_base/cp-dir ./;
+ cp -pr $src_base/cp-dir ./;
ls -l | sed -n -e '$ds' >"\$t"
EOI
}
diff --git a/tests/test/script/builtin/test.testscript b/tests/test/script/builtin/test.testscript
index dceb229..9fde142 100644
--- a/tests/test/script/builtin/test.testscript
+++ b/tests/test/script/builtin/test.testscript
@@ -60,7 +60,7 @@
: both-file-dir
:
$c <<EOI && $b
- test -f -d 2>"test: both -f|--file and -d|--directory specified" == 2
+ test -fd 2>"test: both -f|--file and -d|--directory specified" == 2
EOI
}