aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-configure.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-12 19:22:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-12 19:37:35 +0300
commitc6196464780fbdb1a2dbdda92061189395e5072e (patch)
tree46d5de0f648c823423ff75bd65ad3c60932a8f13 /tests/pkg-configure.test
parentee16762d8435ec1a6dfe4a82655cde5624bb2c38 (diff)
Add support for --keep-out option
Diffstat (limited to 'tests/pkg-configure.test')
-rw-r--r--tests/pkg-configure.test11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/pkg-configure.test b/tests/pkg-configure.test
index 3b4834e..c82593c 100644
--- a/tests/pkg-configure.test
+++ b/tests/pkg-configure.test
@@ -188,14 +188,9 @@ $* libhello libhello 2>>EOE != 0
$* libhello 2>'configured libhello/1.0.0';
touch cfg/libhello/stray &!cfg/libhello/stray;
- $pkg_disfigure libhello 2>>/EOE != 0;
- warning: directory cfg/libhello/ is not empty, not removing
- error: package output directory cfg/libhello/ still exists
- info: package libhello is now broken; use 'pkg-purge' to remove
- EOE
+ $pkg_disfigure libhello 2>'disfigured libhello/1.0.0';
- $pkg_status libhello/1.0.0 >'broken';
- rm -r cfg/libhello;
+ $pkg_status libhello/1.0.0 >'unpacked';
$pkg_purge -f libhello 2>'purged libhello/1.0.0';
$pkg_status libhello/1.0.0 1>'unknown'
@@ -255,7 +250,7 @@ if ($cxx.target.class != 'windows')
$* libhello 2>>/~%EOE% != 0;
%error: unable to create directory cfg/libhello/build/.+%
- %error: unable to remove directory cfg/libhello/build/.+%
+ %error: unable to remove directory cfg/libhello/.+%
info: package libhello is now broken; use 'pkg-purge' to remove
EOE