aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-unpack.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-08 23:21:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-09 14:54:52 +0300
commit538711543c68be94b3e7e3192394bc2f19f49516 (patch)
tree49d9d40a8b8f65476d755f9016f6acc8d3ff3ee3 /tests/pkg-unpack.test
parenta8218ef3b2f2706a810d10f3956982e5b0bd6c57 (diff)
Call output directory just <pkg> for external packages
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'
}
}