aboutsummaryrefslogtreecommitdiff
path: root/tests/config.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-03-07 18:23:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-03-07 18:23:25 +0300
commitcff679061de2b9c884671539006edd1248504b73 (patch)
tree0006d00c05824d7e4dd6e0355fb256ad1fceb5e2 /tests/config.testscript
parentd08619f0952d4ec472d0ce6dcd90cfac7f62dce6 (diff)
Fix tests for commands output in JSON format
Diffstat (limited to 'tests/config.testscript')
-rw-r--r--tests/config.testscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/config.testscript b/tests/config.testscript
index c08c3bf..d537c0b 100644
--- a/tests/config.testscript
+++ b/tests/config.testscript
@@ -41,11 +41,11 @@ deinit += -d prj
# While at it, test printing the configurations list in the JSON format.
#
- $* list @cfg --stdout-format 'json' >>/~"%EOO%";
+ $* list @cfg --stdout-format 'json' >>~%EOO%;
[
{
"id": 1,
- "path": "$~/cfg-dir",
+ % "path": ".+cfg-dir",%
"name": "cfg",
"type": "target",
"default": true,
@@ -281,11 +281,11 @@ deinit += -d prj
# While at it, test printing the configurations list in the JSON format.
#
- $* list --stdout-format 'json' >>/~"%EOO%"
+ $* list --stdout-format 'json' >>~%EOO%
[
{
"id": 5,
- "path": "$~/prj-cfg",
+ % "path": ".+prj-cfg",%
"name": "cfg",
"type": "target",
"default": true,
@@ -294,7 +294,7 @@ deinit += -d prj
},
{
"id": 4,
- "path": "$~/prj-host-cfg",
+ % "path": ".+prj-host-cfg",%
"name": "host-cfg",
"type": "host",
"default": true,