diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-19 12:25:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-19 13:53:41 +0300 |
commit | 8ae1780760db7f73c7045481e6fd18c7fbada60d (patch) | |
tree | 4a443091d79487db80fc9ff62702947516450f7a /tests/pkg-drop.testscript | |
parent | 636d69c1b740d8975bb7c7a3b518c280ac224545 (diff) |
Add --dependent-exit pkg-drop option
Diffstat (limited to 'tests/pkg-drop.testscript')
-rw-r--r-- | tests/pkg-drop.testscript | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/pkg-drop.testscript b/tests/pkg-drop.testscript index 7504d6c..a3c48ab 100644 --- a/tests/pkg-drop.testscript +++ b/tests/pkg-drop.testscript @@ -386,12 +386,13 @@ $* libfoo/1.0.0 2>>~%EOE% != 0 : keep-drop-options : -: Test --drop-dependent, --keep-dependent, --keep-unused, option. +: Test --drop-dependent, --keep-dependent, --dependent-exit, --keep-unused +: options. : { +$clone_cfg && $rep_add $rep/t4b && $rep_fetch - : keep-drop-dependent + : keep-exit-drop-dependent : { $clone_cfg && $pkg_build libbar; @@ -401,6 +402,8 @@ $* libfoo/1.0.0 2>>~%EOE% != 0 libbar (requires libfoo) EOE + $* --dependent-exit 100 libfoo == 100; + $* --drop-dependent libfoo 2>>EOE disfigured libbar disfigured libfoo |