Skip to content

Commit

Permalink
tests/compose: Fix subtest scoping
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jlebon authored and rh-atomic-bot committed May 9, 2019
1 parent be1be52 commit 44594ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compose-tests/libbasic-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 44594ca

Please sign in to comment.