aboutsummaryrefslogtreecommitdiff
path: root/tests/config.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-14 19:25:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-14 19:25:18 +0300
commit55682e23af7465af48db404985db860f0f95953a (patch)
treeaa0fbc83b7b6c9c37b5e30c27786c2b031fc14ce /tests/config.test
parent4e5e0bb6b9e769db94846273d213b7612321efd4 (diff)
Make use of testscript mv builtin
Diffstat (limited to 'tests/config.test')
-rw-r--r--tests/config.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/config.test b/tests/config.test
index e2948da..5beabcf 100644
--- a/tests/config.test
+++ b/tests/config.test
@@ -211,7 +211,7 @@ deinit += -d prj
{
$clone_root_prj;
- $* create -- @cfg $cxx 2>>/"EOE";
+ $* create -- @cfg $cxx &prj-cfg/*** 2>>/"EOE";
created configuration @cfg $~/prj-cfg/ 1 default,forwarded,auto-synchronized
EOE
@@ -221,8 +221,7 @@ deinit += -d prj
% new prj.+19700101000000%
EOE
- cp --no-cleanup -r prj-cfg prj-cfg2 &prj-cfg2/***;
- rm -r prj-cfg;
+ mv prj-cfg prj-cfg2;
$* move @cfg prj-cfg2 2>>/"EOE";
moved configuration @cfg $~/prj-cfg/ 1 to $~/prj-cfg2/