summaryrefslogtreecommitdiff
path: root/tests/fuzz-tests/002-simple-image/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz-tests/002-simple-image/test.sh')
-rwxr-xr-xtests/fuzz-tests/002-simple-image/test.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/fuzz-tests/002-simple-image/test.sh b/tests/fuzz-tests/002-simple-image/test.sh
index 0db61908..5dddc9e1 100755
--- a/tests/fuzz-tests/002-simple-image/test.sh
+++ b/tests/fuzz-tests/002-simple-image/test.sh
@@ -9,11 +9,8 @@ check_prereq btrfs-image
# redefine the one provided by common
check_image() {
- local image
-
- image=$1
truncate -s0 target
- run_mayfail "$TOP/btrfs-image" "$image" target
+ run_mayfail "$TOP/btrfs-image" "$1" target
truncate -s0 target
}