summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libktest.sh6
-rw-r--r--lib/util.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libktest.sh b/lib/libktest.sh
index 86073e0..282870c 100644
--- a/lib/libktest.sh
+++ b/lib/libktest.sh
@@ -28,7 +28,6 @@ ktest_dio=off
ktest_nice=0
checkdep socat
-checkdep qemu-system-x86_64 qemu-system-x86
checkdep brotli
# config files:
@@ -259,10 +258,11 @@ get_unused_port()
start_vm()
{
- checkdep_arch
-
log_verbose "ktest_arch=$ktest_arch"
+ checkdep $QEMU_BIN $QEMU_PACKAGE
+ check_root_image_exists
+
if [[ -z $ktest_kernel_binary ]]; then
echo "Required parameter -k missing: kernel"
exit 1
diff --git a/lib/util.sh b/lib/util.sh
index 115bbd6..42d21dd 100644
--- a/lib/util.sh
+++ b/lib/util.sh
@@ -1,7 +1,7 @@
. "$ktest_dir/lib/common.sh"
-checkdep_arch()
+check_root_image_exists()
{
if [[ -z $ktest_root_image ]]; then
if [[ -f $HOME/.ktest/root.$DEBIAN_ARCH ]]; then