projects
/
platform
/
upstream
/
btrfs-progs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
btrfs-progs: tests: split test 004 to separate tests
[platform/upstream/btrfs-progs.git]
/
tests
/
fuzz-tests
/
009-simple-zero-log
/
test.sh
1
#!/bin/bash
2
3
source $TOP/tests/common
4
5
setup_root_helper
6
check_prereq btrfs
7
8
# redefine the one provided by common
9
check_image() {
10
local image
11
12
image=$1
13
run_check cp "$image" "$image".scratch
14
run_mayfail $TOP/btrfs rescue zero-log "$image".scratch
15
rm -- "$image".scratch
16
}
17
18
check_all_images $TOP/tests/fuzz-tests/images
19
20
exit 0