aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-23 12:15:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-23 12:15:34 +0300
commitdd681cba8b18eba62d3fce475ddcd5f1825b75bf (patch)
tree2f7f628de878292a35245e48a137974b5b41753b /tests
parentf71e71db9a5aca2a9e2bb13558e8424b02a8f16c (diff)
Fix some testscripts failing if project path contain spaces
Diffstat (limited to 'tests')
-rw-r--r--tests/command/testscript2
-rw-r--r--tests/process-run/testscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/command/testscript b/tests/command/testscript
index 4d45f4f..bffe621 100644
--- a/tests/command/testscript
+++ b/tests/command/testscript
@@ -151,5 +151,5 @@ end
: non-zero-status
:
- $* "$0 -C -S 10" 2>/~'%.+ exited with code 10%' == 10
+ $* "'$0' -C -S 10" 2>/~'%.+ exited with code 10%' == 10
}
diff --git a/tests/process-run/testscript b/tests/process-run/testscript
index c5b6532..6a24570 100644
--- a/tests/process-run/testscript
+++ b/tests/process-run/testscript
@@ -3,7 +3,7 @@
# license : MIT; see accompanying LICENSE file
$* -p >>/~%EOO% 2>>EOE
-%.+/driver(\.exe)? -c%
+%.+/driver(\.exe)?"? -c%
abc
abc
abc