]> 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>
Thu, 20 May 2021 10:00:25 +0000 (12:00 +0200)
commit662e04c375f3a907886fcf63d35d0de4b7519ed3
treef26e9d752b035ddd7a089b728ff31d1343b6f47d
parent6c8abf70bd6371d3c6eae277326072dabfff0b04
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