diff --git a/.github/workflows/qemu-tests.yaml b/.github/workflows/qemu-tests.yaml index b8b0c572..9f627d07 100644 --- a/.github/workflows/qemu-tests.yaml +++ b/.github/workflows/qemu-tests.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/download-artifact@master with: name: Arch Live ISO - path: /tmp/archlive/out/*.iso + path: ./_work/iso/ - run: cd tests/qemu - run: echo '' > serial.log # Generate a .screenrc that will auto-run the test diff --git a/tests/qemu/run_test.py b/tests/qemu/run_test.py index bb653951..9d53c3ec 100644 --- a/tests/qemu/run_test.py +++ b/tests/qemu/run_test.py @@ -248,7 +248,7 @@ for profile in parameters: '-chardev', f'socket,id=serial1,fd={serial_socket.fileno()},server=on,wait=on', '-mon', f'chardev=qmp1,mode=control,pretty=off', '-serial', f"chardev:serial1", - '-drive', f'file=/home/anton/Downloads/archlinux-2024.05.13-x86_64.iso,media=cdrom,cache=none,id=cdrom0,index=0' + '-drive', f'file=$(ls -t ./_work/iso/archlinux-*-x86_64.iso | head -n 1),media=cdrom,cache=none,id=cdrom0,index=0' ] logger.info(f"Spawning Qemu test profile {profile}")