2014-12-25 01:32:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-04-03 07:01:12 +00:00
|
|
|
source $TOP/tests/common
|
2014-12-25 01:32:13 +00:00
|
|
|
|
2016-01-12 14:16:11 +00:00
|
|
|
check_prereq btrfs
|
|
|
|
|
2015-04-03 07:01:12 +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
|
|
|
|
|
2015-04-03 07:01:12 +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
|