Commit dd24d777 authored by anonym's avatar anonym
Browse files

Test code: revive code lost in merge conflict resolution.

It happened in commit c493a5f5.
parent 1d412c96
......@@ -91,7 +91,7 @@ class UpgradeNotSupported < StandardError
end
def usb_install_helper(name)
if tails_installer_match_status('It is impossible to upgrade the device')
if tails_installer_match_status(/It is impossible to upgrade the device .+ #{$vm.disk_dev(name)}\d* /)
raise UpgradeNotSupported
end
assert(tails_installer_is_device_selected?(name))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment