test: don't ignore error code in killprocess
Make sure any failing commands are detected and fail the test. Change-Id: Ibdafe78ac68632cd3f5ea42b4f653b969715cbc0 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
5c8f4f180e
commit
1a9974ed1d
@ -134,7 +134,7 @@ function killprocess() {
|
|||||||
|
|
||||||
echo "killing process with pid $1"
|
echo "killing process with pid $1"
|
||||||
kill $1
|
kill $1
|
||||||
wait $1 || true
|
wait $1
|
||||||
}
|
}
|
||||||
|
|
||||||
function iscsicleanup() {
|
function iscsicleanup() {
|
||||||
|
Loading…
Reference in New Issue
Block a user