diff --git a/qpkg/test/bug-adding b/qpkg/test/bug-adding index 995003c..93e80d3 100755 --- a/qpkg/test/bug-adding +++ b/qpkg/test/bug-adding @@ -42,3 +42,57 @@ EOF expect < B, D +# B -> C_1 +# C_0 -> B +# D conflicts with C_1 +# +# "resolve" recurses as follows: +# +# A_0 -> B +# B_0|D -> C +# C_1|D -> next (we clear B here !) +# D_0 -> done +# C_0|D -> next (we try to clear B again) +# + +qpkg_fail "BUG: we don't restore QPKG_ADDING, missing errors" \ + prereq A <pkg->flags & QPKG_ADDING' failed. +Aborted +EOF