From ef63460628096af16f4f4bff3a1f9e57bd38ae74 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 8 May 2019 09:46:05 -0400 Subject: [PATCH] tests/compose: Fix subtest scoping We had a subtest that wasn't actually part of the `basic_test()` and so was being executed when the file gets sourced instead of the function being explicitly called. Closes: #1829 Approved by: cgwalters --- tests/compose-tests/libbasic-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compose-tests/libbasic-test.sh b/tests/compose-tests/libbasic-test.sh index 2c7ebf93df..fe10de1e50 100644 --- a/tests/compose-tests/libbasic-test.sh +++ b/tests/compose-tests/libbasic-test.sh @@ -100,8 +100,8 @@ assert_file_has_content pkglist.txt 'systemd' # also change the corresponding test in misc-tweaks.sh. assert_file_has_content pkglist.txt 'systemd-bootchart' echo "ok compose pkglist" -} ostree --repo=${repobuild} cat ${treeref} /usr/share/rpm-ostree/treefile.json > treefile.json assert_jq treefile.json '.basearch == "x86_64"' echo "ok basearch" +}