projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: tests: remove trivial use of local variables
[platform/upstream/btrfs-progs.git]
/
tests
/
fuzz-tests
/
001-simple-check-unmounted
/
test.sh
diff --git
a/tests/fuzz-tests/001-simple-check-unmounted/test.sh
b/tests/fuzz-tests/001-simple-check-unmounted/test.sh
index
84d7ed8
..
87a6394
100755
(executable)
--- a/
tests/fuzz-tests/001-simple-check-unmounted/test.sh
+++ b/
tests/fuzz-tests/001-simple-check-unmounted/test.sh
@@
-9,10
+9,7
@@
check_prereq btrfs
# redefine the one provided by common
check_image() {
# redefine the one provided by common
check_image() {
- local image
-
- image=$1
- run_mayfail "$TOP/btrfs" check "$image"
+ run_mayfail "$TOP/btrfs" check "$1"
}
check_all_images "$TEST_TOP/fuzz-tests/images"
}
check_all_images "$TEST_TOP/fuzz-tests/images"