t/zbd/test-zbd-support: Set fio aux path and forbid file creation
[fio.git] / t / zbd / test-zbd-support
index afe229097ef6bf2dc45bbf449ce90d8ee4183b09..fd30f5c6ecca1438aa534ead6e568301e39fb826 100755 (executable)
@@ -81,13 +81,14 @@ is_scsi_device() {
 }
 
 run_fio() {
-    local fio
+    local fio opts
 
     fio=$(dirname "$0")/../../fio
 
-    { echo; echo "fio $*"; echo; } >>"${logfile}.${test_number}"
+    opts=("--aux-path=/tmp" "--allow_file_create=0" "$@")
+    { echo; echo "fio ${opts[*]}"; echo; } >>"${logfile}.${test_number}"
 
-    "${dynamic_analyzer[@]}" "$fio" "$@"
+    "${dynamic_analyzer[@]}" "$fio" "${opts[@]}"
 }
 
 run_one_fio_job() {