nixosTests.virtualbox.host-usb-permissions: import sys
Otherwise, sys.stderr is not defined.
Fixes: db614e11d6
("nixos/tests/test-driver: better control test env symbols")
This commit is contained in:
parent
6ce4afce63
commit
ecaa6f5c60
@ -466,6 +466,8 @@ in mapAttrs (mkVBoxTest false vboxVMs) {
|
||||
'';
|
||||
|
||||
host-usb-permissions = ''
|
||||
import sys
|
||||
|
||||
user_usb = remove_uuids(vbm("list usbhost"))
|
||||
print(user_usb, file=sys.stderr)
|
||||
root_usb = remove_uuids(machine.succeed("VBoxManage list usbhost"))
|
||||
|
Loading…
Reference in New Issue
Block a user