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:
Daniel Verkamp 2016-09-13 10:46:07 -07:00
parent 5c8f4f180e
commit 1a9974ed1d

View File

@ -134,7 +134,7 @@ function killprocess() {
echo "killing process with pid $1"
kill $1
wait $1 || true
wait $1
}
function iscsicleanup() {