vmcheck/override-replace: Fix status jq test

We should be checking that there are no requested base replacements
here, not removals. This was likely a copy-paste slip-up from copying
the override-remove tests. I still kept those checks for sanity, and
just tacked on the correct ones.

Closes: #1323
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-04-03 14:07:37 -04:00 committed by Atomic Bot
parent bb07a29bc2
commit 60a59cbbe4

View File

@ -135,7 +135,9 @@ echo "ok override reset foo and fooext using name and nevra"
vm_rpmostree override reset --all
vm_assert_status_jq \
'.deployments[0]["base-removals"]|length == 0' \
'.deployments[0]["requested-base-removals"]|length == 0'
'.deployments[0]["requested-base-removals"]|length == 0' \
'.deployments[0]["base-local-replacements"]|length == 0' \
'.deployments[0]["requested-base-local-replacements"]|length == 0'
echo "ok override reset --all"
vm_rpmostree cleanup -p