tests/jigdo-e2e: Strictly require npkgs to import

Since we changed things to have `jigdoSet = pkgSet`, we can just require exactly
`${npkgs}` here on import, which is what we found from `db list`.

Closes: #1256
Approved by: jlebon
This commit is contained in:
Colin Walters 2018-02-15 12:57:55 -05:00 committed by Atomic Bot
parent 64c4fe8559
commit a4d8980d59

View File

@ -50,7 +50,7 @@ do_jigdo2commit() {
}
do_jigdo2commit
# there will generally be pkgs not in the jigdo set, but let's at least assert it's > 0
assert_file_has_content jigdo2commit-out.txt '[1-9][0-9]* packages to import'
assert_file_has_content jigdo2commit-out.txt ${npkgs}' packages to import'
ostree --repo=jigdo-unpack-repo rev-parse ${rev}
ostree --repo=jigdo-unpack-repo fsck
ostree --repo=jigdo-unpack-repo refs > jigdo-refs.txt