Skip to content

Commit

Permalink
Merge branch 't0036-0037' of https://github.com/kawasaki/fio
Browse files Browse the repository at this point in the history
* 't0036-0037' of https://github.com/kawasaki/fio:
  t/jobs/t0036,0037: add tests for verify_state_save/load options
  • Loading branch information
vincentkfu committed Feb 14, 2025
2 parents e2d3758 + 42ba86c commit 2768c33
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/jobs/t0036-post.fio
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[global]
filename=t0036file
verify=md5
size=512k

[job]
readwrite=read
verify_state_load=1
8 changes: 8 additions & 0 deletions t/jobs/t0036-pre.fio
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[global]
filename=t0036file
verify=md5
size=512k

[job]
readwrite=write
verify_state_save=1
12 changes: 12 additions & 0 deletions t/jobs/t0037-post.fio
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[global]
filename=t0037file.1:t0037file.2:t0037file.3:t0037file.4
verify=md5
ioengine=libaio
iodepth=32
size=512k
loops=4

[job]
readwrite=read
verify_state_load=1

12 changes: 12 additions & 0 deletions t/jobs/t0037-pre.fio
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[global]
filename=t0037file.1:t0037file.2:t0037file.3:t0037file.4
verify=md5
ioengine=libaio
iodepth=32
size=512k
loops=4

[job]
readwrite=write
verify_state_save=1

18 changes: 18 additions & 0 deletions t/run-fio-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,24 @@ def check_result(self):
'pre_success': None,
'requirements': [],
},
{
'test_id': 36,
'test_class': FioJobFileTest,
'job': 't0036-post.fio',
'success': SUCCESS_DEFAULT,
'pre_job': 't0036-pre.fio',
'pre_success': SUCCESS_DEFAULT,
'requirements': [],
},
{
'test_id': 37,
'test_class': FioJobFileTest,
'job': 't0037-post.fio',
'success': SUCCESS_DEFAULT,
'pre_job': 't0037-pre.fio',
'pre_success': SUCCESS_DEFAULT,
'requirements': [Requirements.linux, Requirements.libaio],
},
{
'test_id': 1000,
'test_class': FioExeTest,
Expand Down

0 comments on commit 2768c33

Please sign in to comment.