2 name = "nixos-test-driver.node-name";
6 # Valid node name, but not a great host name.
9 # Valid node name, good host name
12 # TODO: would be nice to test these eval failures
13 # Not allowed by lib/testing/network.nix (yet?)
16 # "not ok" = { }; # not ok
22 with subtest("python vars exist and machines are reachable through test backdoor"):
24 one_two.succeed("true")
27 with subtest("hostname is derived from the node name"):
28 ok.succeed("hostname | tee /dev/stderr | grep '^ok$'")
29 one_two.succeed("hostname | tee /dev/stderr | grep '^onetwo$'")
30 a_b.succeed("hostname | tee /dev/stderr | grep '^a-b$'")