Commit 1cb19cc
authored
testinfra/modules/blockdevice: Don't fail on stderr (#745)
The `blockdevice` module raises a `RuntimeError` if `blockdev` returns with a
non-zero exit code, or if stderr is not empty.
But the latter can happen even when there's no failure at all, for instance if
`sshd` has a banner message configured (which gets output to stderr whenever
someone connects to the host).
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>1 parent 01db77f commit 1cb19cc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments