diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-07 18:23:25 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-07 18:23:25 +0300 |
commit | cff679061de2b9c884671539006edd1248504b73 (patch) | |
tree | 0006d00c05824d7e4dd6e0355fb256ad1fceb5e2 /tests/status.testscript | |
parent | d08619f0952d4ec472d0ce6dcd90cfac7f62dce6 (diff) |
Fix tests for commands output in JSON format
Diffstat (limited to 'tests/status.testscript')
-rw-r--r-- | tests/status.testscript | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/status.testscript b/tests/status.testscript index 2977e4f..e5e111b 100644 --- a/tests/status.testscript +++ b/tests/status.testscript @@ -30,12 +30,14 @@ deinit += -d prj $* >'prj configured 0.1.0-a.0.19700101000000'; - $* --stdout-format 'json' >>/~"%EOO%"; + # While at it, test printing the status in the JSON format. + # + $* --stdout-format 'json' >>~%EOO%; [ { "configuration": { "id": 1, - "path": "$~/prj-cfg", + % "path": ".+prj-cfg",% "name": "cfg" }, "packages": [ @@ -72,12 +74,14 @@ deinit += -d prj prj configured 0.1.0-a.0.19700101000000 EOO - $* --all --stdout-format 'json' >>/~"%EOO%"; + # While at it, test printing the status in the JSON format. + # + $* --all --stdout-format 'json' >>~%EOO%; [ { "configuration": { "id": 1, - "path": "$~/prj-cfg1", + % "path": ".+prj-cfg1",% "name": "cfg1" }, "packages": [ @@ -89,7 +93,7 @@ deinit += -d prj { "configuration": { "id": 2, - "path": "$~/prj-cfg2", + % "path": ".+prj-cfg2",% "name": "cfg2" }, "packages": [ |