2014-12-25 01:32:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-02-08 06:34:19 +00:00
|
|
|
source "$TEST_TOP/common"
|
2014-12-25 01:32:13 +00:00
|
|
|
|
2016-01-12 14:16:11 +00:00
|
|
|
check_prereq btrfs
|
|
|
|
|
2017-04-24 13:29:40 +00:00
|
|
|
echo "extracting image default_case.tar.xz" >> "$RESULTS"
|
2015-09-01 10:03:14 +00:00
|
|
|
tar --no-same-owner -xJf default_case.tar.xz || \
|
2014-12-25 01:32:13 +00:00
|
|
|
_fail "failed to extract default_case.tar.xz"
|
|
|
|
check_image test.img
|
|
|
|
|
2017-04-24 13:29:40 +00:00
|
|
|
echo "extracting image skinny_case.tar.xz" >> "$RESULTS"
|
2015-09-01 10:03:14 +00:00
|
|
|
tar --no-same-owner -xJf skinny_case.tar.xz || \
|
2014-12-25 01:32:13 +00:00
|
|
|
_fail "failed to extract skinny_case.tar.xz"
|
|
|
|
check_image test.img
|
|
|
|
|
|
|
|
rm test.img
|