Commit 95b5003
committed
throtl/004: adjust to scsi_debug
Currently, the test case throtl/004 assumes that the test target device
is null_blk. When it verifies the dd command error message, it checks
the string "/dev/dev_nullb" also. However, this test will fail when the
test case is extended to support scsi_debug.
To avoid the failure, remove dependency on the specific device name.
Save the dd command error output to the FULL file, and check only the
error message part in the FULL file.
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>1 parent c1a57de commit 95b5003
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
0 commit comments