aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/init.testscript7
-rw-r--r--tests/release.testscript2
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/init.testscript b/tests/init.testscript
index a0aef6d..ba67b56 100644
--- a/tests/init.testscript
+++ b/tests/init.testscript
@@ -219,6 +219,13 @@ deinit += -d prj
created new library package libprj in $~/prj/libprj/
EOE
+ # While at it, make sure we fail if misspell the package directory.
+ #
+ mkdir prj/libpr;
+ $init --all -d prj/libpr 2>>/~"%EOE%" != 0;
+ error: prj/libpr/ is not a package or project directory
+ EOE
+
$init --all -d prj/libprj 2>>/~"%EOE%";
initializing in project $~/prj/
synchronizing:
diff --git a/tests/release.testscript b/tests/release.testscript
index c39bbba..6c89987 100644
--- a/tests/release.testscript
+++ b/tests/release.testscript
@@ -705,7 +705,7 @@ log2 = $gp2 log '--pretty=format:"%d %s"'
Create
EOO
- tag = $release --tag --push -q --yes -d prj/prj
+ tag = $release --tag --push -q --yes -d prj
: update
: