lib/test-driver: fix reading command output for other distros #382260
No attempt
The following builds were skipped because they don't evaluate on aarch64-darwin: nixosTests.nat.firewall, nixosTests.networking.scripted.link, nixosTests.installer.simpleProvided, nixosTests.installer.separateBootFat, nixosTests.networking.scripted.virtual, nixosTests.printing, nixosTests.keymap.azerty, nixosTests.keymap.dvorak-programmer, nixosTests.boot-stage1, nixosTests.installer.swraid, nixosTests.keymap.neo, nixosTests.nfs4.simple, nixosTests.i3wm, nixosTests.udisks2, nixosTests.networking.networkd.loopback, nixosTests.containers-ip, nixosTests.ecryptfs, nixosTests.login, nixosTests.installer.simpleLabels, nixosTests.php.httpd, nixosTests.zfs.installer, nixosTests.predictable-interface-names.unpredictable, nixosTests.predictable-interface-names.unpredictableNetworkd, nixosTests.mutableUsers
Details
Partial log
Cannot nix-instantiate `nixosTests.predictable-interface-names.unpredictable` because:
error: access to absolute path '/private' is forbidden in restricted mode
Cannot nix-instantiate `nixosTests.predictable-interface-names.unpredictableNetworkd` because:
error: access to absolute path '/private' is forbidden in restricted mode
Cannot nix-instantiate `nixosTests.mutableUsers` because:
error: access to absolute path '/private' is forbidden in restricted mode