]> git.ipfire.org Git - thirdparty/libsolv.git/commit
testcase_read: error out if repos are added or the system is changed too late
authorMichael Schroeder <mls@suse.de>
Mon, 14 Dec 2020 10:12:00 +0000 (11:12 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 14 Dec 2020 10:12:00 +0000 (11:12 +0100)
commit0077ef29eb46d2e1df2f230fc95a1d9748d49dec
tree75ff1422df9fc49b271efba2a537eae48822aebd
parent926244b99d3261b3f60bd974612999a9c781a7ab
testcase_read: error out if repos are added or the system is changed too late

We must not add new solvables after the considered map was created, the solver
was created, or jobs were added. We may not changed the system after jobs have
been added.

(Jobs may point inside the whatproviedes array, so we must not invalidate this
area.)
ext/testcase.c