tests: move fixture to fix installed tests

This moves around the packed archive for bare-split-xattrs mode,
in order to fix installed tests.
This commit is contained in:
Luca BRUNO 2022-04-12 09:53:54 +00:00
parent f21944da1c
commit 7e83726faa
No known key found for this signature in database
GPG Key ID: A9834A2252078E4E
3 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ dist_installed_test_data = tests/archive-test.sh \
tests/ostree-path-traverse.tar.gz \
tests/pre-signed-pull-data.tar.gz \
tests/libtest-core.sh \
tests/fixtures/bare-split-xattrs/basic.tar.xz \
tests/bare-split-xattrs-basic.tar.xz \
$(NULL)
EXTRA_DIST += tests/libtest.sh

View File

@ -56,7 +56,7 @@ rm -rf -- repo files
if [ "${PRIVILEGED}" = "true" ]; then
COMMIT="d614c428015227259031b0f19b934dade908942fd71c49047e0daa70e7800a5d"
cd ${test_tmpdir}
${SUDO} tar --same-permissions --same-owner -xaf ${test_srcdir}/fixtures/bare-split-xattrs/basic.tar.xz
${SUDO} tar --same-permissions --same-owner -xaf ${test_srcdir}/bare-split-xattrs-basic.tar.xz
${SUDO} ${OSTREE} fsck --all
${OSTREE} log ${COMMIT} > out.txt
assert_file_has_content_literal out.txt "fixtures: bare-split-xattrs repo"