mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 07:02:45 +00:00
btrfs-progs: Move bad root items test cases to its corresponding dir
Now 006-bad-root-items has two cases, one for default case, and one for skinny metadata case. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
ebe2f5cac3
commit
a65701b88e
15
tests/fsck-tests/006-bad-root-items/test.sh
Executable file
15
tests/fsck-tests/006-bad-root-items/test.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
source $top/tests/common
|
||||
|
||||
echo "extracting image default_case.tar.xz" >> $RESULT
|
||||
tar xJf default_case.tar.xz || \
|
||||
_fail "failed to extract default_case.tar.xz"
|
||||
check_image test.img
|
||||
|
||||
echo "extracting image skinny_case.tar.xz" >> $RESULT
|
||||
tar xJf skinny_case.tar.xz || \
|
||||
_fail "failed to extract skinny_case.tar.xz"
|
||||
check_image test.img
|
||||
|
||||
rm test.img
|
Loading…
Reference in New Issue
Block a user