lib/core: introduce 'bare-split-xattrs' mode

This commit is contained in:
Luca BRUNO committed 2022-03-02 16:45:00 +00:00
1 parent 2c60f302f9
commit 08e98e9042
8 files changed
+82 -11

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
#
# SPDX-License-Identifier: LGPL-2.0+
set -euo pipefail
. $(dirname $0)/libtest.sh
mode="bare-split-xattrs"
OSTREE="${CMD_PREFIX} ostree --repo=${test_tmpdir}/repo"
cd ${test_tmpdir}
${OSTREE} init --mode "${mode}"
${OSTREE} config get core.mode > mode.txt
assert_file_has_content mode.txt "${mode}"
tap_ok "repo init"
rm -rf -- repo mode.txt
cd ${test_tmpdir}
${OSTREE} init --mode "${mode}"
${OSTREE} fsck --all
tap_ok "repo fsck"
rm -rf -- repo
tap_end