Commit ea34d6a
block/042: check sysfs values prior to running
In testing some older kernels recently, block/042 has failed due
to dma_alignment and virt_boundary_mask not being present.
Running block/042
+cat: '.../queue/dma_alignment': No such file or directory
+cat: '.../queue/virt_boundary_mask': No such file or directory
+dio-offsets: test_dma_aligned: failed to write buf: Invalid argument
To ensure we skip if this is the case, check all sysfs values prior
to run. Also, change the spaces to tabs before _require_test_dev_sysfs
for consistency with the rest of blktests.
Signed-off-by: John Pittman <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>1 parent 98176bf commit ea34d6a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments