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:
Alyssa Ross 2022-06-25 17:35:51 +00:00
parent 6ce4afce63
commit ecaa6f5c60
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -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"))