Skip to content

Commit 2768c33

Browse files
committed
Merge branch 't0036-0037' of https://github.com/kawasaki/fio
* 't0036-0037' of https://github.com/kawasaki/fio: t/jobs/t0036,0037: add tests for verify_state_save/load options
2 parents e2d3758 + 42ba86c commit 2768c33

File tree

5 files changed

+58
-0
lines changed

5 files changed

+58
-0
lines changed

t/jobs/t0036-post.fio

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[global]
2+
filename=t0036file
3+
verify=md5
4+
size=512k
5+
6+
[job]
7+
readwrite=read
8+
verify_state_load=1

t/jobs/t0036-pre.fio

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[global]
2+
filename=t0036file
3+
verify=md5
4+
size=512k
5+
6+
[job]
7+
readwrite=write
8+
verify_state_save=1

t/jobs/t0037-post.fio

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[global]
2+
filename=t0037file.1:t0037file.2:t0037file.3:t0037file.4
3+
verify=md5
4+
ioengine=libaio
5+
iodepth=32
6+
size=512k
7+
loops=4
8+
9+
[job]
10+
readwrite=read
11+
verify_state_load=1
12+

t/jobs/t0037-pre.fio

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[global]
2+
filename=t0037file.1:t0037file.2:t0037file.3:t0037file.4
3+
verify=md5
4+
ioengine=libaio
5+
iodepth=32
6+
size=512k
7+
loops=4
8+
9+
[job]
10+
readwrite=write
11+
verify_state_save=1
12+

t/run-fio-tests.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,24 @@ def check_result(self):
951951
'pre_success': None,
952952
'requirements': [],
953953
},
954+
{
955+
'test_id': 36,
956+
'test_class': FioJobFileTest,
957+
'job': 't0036-post.fio',
958+
'success': SUCCESS_DEFAULT,
959+
'pre_job': 't0036-pre.fio',
960+
'pre_success': SUCCESS_DEFAULT,
961+
'requirements': [],
962+
},
963+
{
964+
'test_id': 37,
965+
'test_class': FioJobFileTest,
966+
'job': 't0037-post.fio',
967+
'success': SUCCESS_DEFAULT,
968+
'pre_job': 't0037-pre.fio',
969+
'pre_success': SUCCESS_DEFAULT,
970+
'requirements': [Requirements.linux, Requirements.libaio],
971+
},
954972
{
955973
'test_id': 1000,
956974
'test_class': FioExeTest,

0 commit comments

Comments
 (0)