From cdfdb651f7187858c8f3aa1a10d34f37a7d251f4 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 19 Jun 2019 10:02:26 -0700 Subject: [PATCH] tests: kill the qemu process name used to start it Related: rhbz#1710877 --- tests/cli/test_compose_live-iso.sh | 2 +- tests/cli/test_compose_qcow2.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli/test_compose_live-iso.sh b/tests/cli/test_compose_live-iso.sh index b18691b4..9988b591 100755 --- a/tests/cli/test_compose_live-iso.sh +++ b/tests/cli/test_compose_live-iso.sh @@ -56,7 +56,7 @@ rlJournalStart rlPhaseEnd rlPhaseStartCleanup - rlRun -t -c "killall -9 qemu-kvm" + rlRun -t -c "killall -9 $(basename $QEMU)" rlRun -t -c "$CLI compose delete $UUID" rlRun -t -c "rm -rf $IMAGE" rlPhaseEnd diff --git a/tests/cli/test_compose_qcow2.sh b/tests/cli/test_compose_qcow2.sh index c8171d71..a7fc0d4b 100755 --- a/tests/cli/test_compose_qcow2.sh +++ b/tests/cli/test_compose_qcow2.sh @@ -82,7 +82,7 @@ __EOF__ rlPhaseEnd rlPhaseStartCleanup - rlRun -t -c "killall -9 qemu-system" + rlRun -t -c "killall -9 $(basename $QEMU)" rlRun -t -c "$CLI compose delete $UUID" rlRun -t -c "rm -rf $IMAGE $TMP_DIR $SSH_KEY_DIR" rlPhaseEnd