test: add tests for lfsr and norandommap
[fio.git] / t / jobs / t0022.fio
diff --git a/t/jobs/t0022.fio b/t/jobs/t0022.fio
new file mode 100644 (file)
index 0000000..2324571
--- /dev/null
@@ -0,0 +1,13 @@
+# make sure that when we enable norandommap we touch some offsets more than once
+#
+# Expected result: at least one offset is touched more than once
+# Buggy result: each offset is touched only once
+
+[test]
+ioengine=null
+filesize=1M
+rw=randread
+write_bw_log=test
+per_job_logs=0
+log_offset=1
+norandommap=1