Make cfgupgrade idempotent
authorMichele Tartara <mtartara@google.com>
Tue, 18 Jun 2013 07:33:48 +0000 (07:33 +0000)
committerMichele Tartara <mtartara@google.com>
Tue, 18 Jun 2013 08:12:12 +0000 (10:12 +0200)
commitf2e4363c7395a5e3a4275098e5bfd5a9ce2f1b35
tree26db02e619fb4837308a4f1a470b9e4d73b57696
parent77018a43a853586d2d16a26725e780663be0826b
Make cfgupgrade idempotent

One of the unit tests checks whether cfgupgrade's downgrade option is
idempotent. It is, but a version number check made it impossible to
actually downgrade multiple times.

With this change, both the current-version version number and the
target-version version number are accepted by the downgrade tool.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
tools/cfgupgrade