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 committed 2022-04-12 09:53:54 +00:00
1 parent f21944da1c
commit 7e83726faa
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ dist_installed_test_data = tests/archive-test.sh \
tests/ostree-path-traverse.tar.gz \ tests/ostree-path-traverse.tar.gz \
tests/pre-signed-pull-data.tar.gz \ tests/pre-signed-pull-data.tar.gz \
tests/libtest-core.sh \ tests/libtest-core.sh \
tests/fixtures/bare-split-xattrs/basic.tar.xz \ tests/bare-split-xattrs-basic.tar.xz \
$(NULL) $(NULL)
EXTRA_DIST += tests/libtest.sh EXTRA_DIST += tests/libtest.sh
+1 -1
View File
@@ -56,7 +56,7 @@ rm -rf -- repo files
if [ "${PRIVILEGED}" = "true" ]; then if [ "${PRIVILEGED}" = "true" ]; then
COMMIT="d614c428015227259031b0f19b934dade908942fd71c49047e0daa70e7800a5d" COMMIT="d614c428015227259031b0f19b934dade908942fd71c49047e0daa70e7800a5d"
cd ${test_tmpdir} 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 ${SUDO} ${OSTREE} fsck --all
${OSTREE} log ${COMMIT} > out.txt ${OSTREE} log ${COMMIT} > out.txt
assert_file_has_content_literal out.txt "fixtures: bare-split-xattrs repo" assert_file_has_content_literal out.txt "fixtures: bare-split-xattrs repo"