aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-unpack.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg-unpack.test')
-rw-r--r--tests/pkg-unpack.test26
1 files changed, 20 insertions, 6 deletions
diff --git a/tests/pkg-unpack.test b/tests/pkg-unpack.test
index af07fc5..0795f6b 100644
--- a/tests/pkg-unpack.test
+++ b/tests/pkg-unpack.test
@@ -38,11 +38,13 @@
cp -r $src/t1 $out/t1 && $rep_create $out/t1 &$out/t1/packages.manifest
end
-pkg_fetch += -d cfg 2>!
-pkg_purge += -d cfg
-pkg_status += -d cfg
-rep_add += -d cfg 2>!
-rep_fetch += -d cfg --auth all 2>!
+pkg_fetch += -d cfg 2>!
+pkg_purge += -d cfg
+pkg_status += -d cfg
+rep_add += -d cfg 2>!
+rep_fetch += -d cfg --auth all 2>!
+pkg_configure += -d cfg
+pkg_disfigure += -d cfg
: replace-with-existing
:
@@ -101,6 +103,10 @@ $* 2>>EOE != 0
$* -e $src/libfoo-1.1.0 2>'using libfoo/1.1.0 (external)';
$pkg_status libfoo/1.1.0 1>'unpacked; available';
+ $pkg_configure libfoo 2>'configured libfoo/1.1.0';
+ test -d cfg/libfoo;
+ $pkg_disfigure libfoo 2>'disfigured libfoo/1.1.0';
+
$pkg_purge libfoo 2>'purged libfoo/1.1.0'
}
@@ -168,6 +174,10 @@ $* 2>>EOE != 0
$* libfoo 2>'unpacked libfoo/1.0.0';
$pkg_status libfoo/1.0.0 1>'unpacked; available';
+ $pkg_configure libfoo 2>'configured libfoo/1.0.0';
+ test -d cfg/libfoo-1.0.0;
+ $pkg_disfigure libfoo 2>'disfigured libfoo/1.0.0';
+
$pkg_purge libfoo 2>'purged libfoo/1.0.0'
}
@@ -251,6 +261,10 @@ $* 2>>EOE != 0
using libfoo/1.1.0 (external)
EOE
- $pkg_status libfoo 1>'unpacked 1.1.0; available sys:?'
+ $pkg_status libfoo 1>'unpacked 1.1.0; available sys:?';
+
+ $pkg_configure libfoo 2>'configured libfoo/1.1.0';
+ test -d cfg/libfoo;
+ $pkg_disfigure libfoo 2>'disfigured libfoo/1.1.0'
}
}