aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-10 17:19:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-10 17:42:08 +0300
commit85eff0e9f81a3eeccc67e534f43be7e9f2e75521 (patch)
tree96242163a7f43611598c158e8f3da01ee183e938 /tests
parentb88ed73c1fa88976e99fa16f989920561f68f302 (diff)
Fix pkg-build crash on system package drop
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-system.testscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pkg-system.testscript b/tests/pkg-system.testscript
index e8ad676..678e838 100644
--- a/tests/pkg-system.testscript
+++ b/tests/pkg-system.testscript
@@ -908,4 +908,16 @@ rep_remove += -d cfg 2>!
$pkg_drop foo
}
+
+ : unhold
+ :
+ : Test that the system package get purged being unhold.
+ :
+ {
+ $clone_cfg;
+
+ $pkg_build 'sys:foo' 2>'configured sys:foo/*';
+
+ $pkg_build ?foo 2>'purged foo/*'
+ }
}