From f7a0ec9bf7808b1ca67ad386b24d8d58c424eb99 Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Tue, 22 Jan 2019 16:50:32 -0800 Subject: [PATCH] tests: Don't skip collection-based summary test OSTree's P2P support used to be a compile time option but is now always enabled. One of the tests was still checking for the old feature flag, "experimental", which has been renamed to "p2p" and skipping for that reason. Delete the check so the test always runs. Closes: #1804 Approved by: pwithnall --- tests/test-summary-update.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/test-summary-update.sh b/tests/test-summary-update.sh index faa54e38..6fb5a4be 100755 --- a/tests/test-summary-update.sh +++ b/tests/test-summary-update.sh @@ -58,12 +58,7 @@ assert_file_has_content summary "^map: {}$" echo "ok 1 update summary" -# Test again, but with collections enabled in the repository (if supported). -if ! ostree --version | grep -q -e '- experimental'; then - echo "ok 2 # skip No experimental API is compiled in" - exit 0 -fi - +# Test again, but with collections enabled in the repository. cd ${test_tmpdir} rm -rf repo ostree_repo_init repo --collection-id org.example.Collection1