Fix the issues reported by AI overlord
This commit is contained in:
parent
bcd474d7f6
commit
fb8dc856fb
1 changed files with 2 additions and 3 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue