From a4d8980d5932236e87910e92d7837ec0ffc97388 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 15 Feb 2018 12:57:55 -0500 Subject: [PATCH] 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 --- tests/compose-tests/test-jigdo-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compose-tests/test-jigdo-e2e.sh b/tests/compose-tests/test-jigdo-e2e.sh index 30a16527..8dea5b5b 100755 --- a/tests/compose-tests/test-jigdo-e2e.sh +++ b/tests/compose-tests/test-jigdo-e2e.sh @@ -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