Commit f14914d
nvme/039: use nvme --no-ioctl-probing when available
nvme-cli 3.x uses the 64-bit IOCTL interface when it's available. It
uses a IOCTL to probe if it is available. The test relies that after
setting up the error injection the next ioctl is the expected
one (either IO or ADMIN command).
Thus new probing breaks the test case. nvme-cli 3. introduce a
--no-ioctl-probing global command line option which disables this
feature and the 32-bit IOCTL interface will be used without probing.
Link: #227
Link: #224
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>1 parent b5b6993 commit f14914d
1 file changed
Lines changed: 25 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
34 | 56 | | |
35 | 57 | | |
36 | 58 | | |
| |||
97 | 119 | | |
98 | 120 | | |
99 | 121 | | |
100 | | - | |
| 122 | + | |
101 | 123 | | |
102 | 124 | | |
103 | 125 | | |
| |||
118 | 140 | | |
119 | 141 | | |
120 | 142 | | |
121 | | - | |
| 143 | + | |
122 | 144 | | |
123 | 145 | | |
124 | 146 | | |
| |||
143 | 165 | | |
144 | 166 | | |
145 | 167 | | |
146 | | - | |
| 168 | + | |
147 | 169 | | |
148 | 170 | | |
149 | 171 | | |
| |||
0 commit comments