solo5: remove unsupported qemu flag in test

This commit is contained in:
Emery Hemingway 2024-06-23 15:35:27 +03:00
parent 7bba7b6029
commit 4858ce6b75

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, dosfstools, libseccomp, makeWrapper, mtools, parted
, pkg-config, qemu, syslinux, util-linux }:
, pkg-config, qemu_test, syslinux, util-linux }:
let
version = "0.8.1";
@ -55,10 +55,12 @@ in stdenv.mkDerivation {
'';
doCheck = stdenv.hostPlatform.isLinux;
nativeCheckInputs = [ util-linux qemu ];
nativeCheckInputs = [ util-linux qemu_test ];
checkPhase = ''
runHook preCheck
patchShebangs tests
substituteInPlace scripts/virtio-run/solo5-virtio-run.sh \
--replace " -no-acpi" ""
./tests/bats-core/bats ./tests/tests.bats
runHook postCheck
'';