summaryrefslogtreecommitdiff
path: root/test/interactive-helper
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-04-05 20:56:56 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-04-07 12:37:08 +0200
commit57f16d51f4158dce1a49f6d5f5f05f057125b871 (patch)
tree8f13802e1a0adf3114fcb138c3eb4bb3ca8b5967 /test/interactive-helper
parent4c4b610fd029914e789caad7514ef92c6e97a327 (diff)
ensure transaction states are changed only once
We want to keep track of the state of a transaction overall to base future decisions on it, but as a pre-requirement we have to make sure that a transaction isn't commited twice (which happened if the download of InRelease failed and Release takes over). It also happened to create empty commits after a transaction was already aborted in cases in which the Release files were rejected. This isn't effecting security at the moment, but to ensure this isn't happening again and can never be bad a bunch of fatal error messages are added to make regressions on this front visible.
Diffstat (limited to 'test/interactive-helper')
0 files changed, 0 insertions, 0 deletions