Fix the issues reported by AI overlord
Some checks failed
CI via Tox and perl / tox (pull_request) Successful in 4m24s
CI via Tox and perl / perl (pull_request) Has been cancelled

This commit is contained in:
Lukáš Růžička 2026-01-28 16:20:50 +01:00
commit fb8dc856fb

View file

@ -37,10 +37,9 @@ sub run {
# Go to console, perform tests, and come back
$self->root_console(tty => 3);
script_run("mkdir -p /mnt/usbdisk");
script_run("mount /dev/sda1 /mnt/usbdisk");
assert_script_run("mount /dev/sda1 /mnt/usbdisk");
# The usb should be mountable but empty.
assert_script_run('[ "$(ls -A /mnt/usbdisk)" ] && echo 1 || echo 0');
assert_script_run('test -z "$(ls -A /mnt/usbdisk)"');
desktop_vt();
# Stop the application
send_key("alt-f4");