mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
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
This commit is contained in:
parent
27d354da86
commit
f7a0ec9bf7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user