aboutsummaryrefslogtreecommitdiff
path: root/tests/new.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/new.test
parent4e5e0bb6b9e769db94846273d213b7612321efd4 (diff)
Make use of testscript mv builtin
Diffstat (limited to 'tests/new.test')
-rw-r--r--tests/new.test7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/new.test b/tests/new.test
index ae9be31..b5b3670 100644
--- a/tests/new.test
+++ b/tests/new.test
@@ -69,20 +69,17 @@ status += -d prj
:
$* -t empty x 2>'error: invalid project name: length is less than two characters' != 0
- #\
- @@ mv
: project-derived
:
- $* -t empty xx 2>>/"EOE";
+ $* -t empty xx &xx/*** 2>>/"EOE";
created new empty project xx in $~/xx/
EOE
- mv xx x &x/***;
+ mv xx x;
$* --package pkg -d x 2>>/"EOE"
warning: project name 'x' is invalid: length is less than two characters
info: leaving the 'project' manifest value empty
created new executable package pkg in $~/x/pkg/
EOE
- #\
}
}