btrfs-progs/tests/fsck-tests/006-bad-root-items/test.sh

18 lines
418 B
Bash
Executable File

#!/bin/bash
source $TOP/tests/common
check_prereq btrfs
echo "extracting image default_case.tar.xz" >> $RESULTS
tar --no-same-owner -xJf default_case.tar.xz || \
_fail "failed to extract default_case.tar.xz"
check_image test.img
echo "extracting image skinny_case.tar.xz" >> $RESULTS
tar --no-same-owner -xJf skinny_case.tar.xz || \
_fail "failed to extract skinny_case.tar.xz"
check_image test.img
rm test.img