aboutsummaryrefslogtreecommitdiff
path: root/tests/init.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/init.test
parent4e5e0bb6b9e769db94846273d213b7612321efd4 (diff)
Make use of testscript mv builtin
Diffstat (limited to 'tests/init.test')
-rw-r--r--tests/init.test10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/init.test b/tests/init.test
index 14293ba..8915189 100644
--- a/tests/init.test
+++ b/tests/init.test
@@ -150,14 +150,8 @@ deinit += -d prj
#
mkdir --no-cleanup prj/prj.pkg;
- # @@ Shouldn't we add mv builtin?
- #
- fs = prj/prj/ prj/build/ prj/buildfile prj/manifest prj/.gitignore;
- cp --no-cleanup -p -r $fs prj/prj.pkg/;
- rm -r $fs;
-
- cp --no-cleanup -p -r prj/prj.pkg/ prj/prj;
- rm -r prj/prj.pkg/;
+ mv prj/prj prj/build prj/buildfile prj/manifest prj/.gitignore prj/prj.pkg/;
+ mv prj/prj.pkg prj/prj;
cat <<EOI >=prj/packages.manifest;
: 1