integration-tests/apply: Test building nodes with dots in names

Ref: #92
This commit is contained in:
Zhaofeng Li 2022-06-02 16:39:45 -07:00
parent 6fe48ccd04
commit c6b61efc58

View file

@ -102,3 +102,7 @@ with subtest("Check that our Nix store test is actually working"):
deployer.succeed(f"nix-build -E 'with import <nixpkgs> {{}}; writeText \"forbidden-text.txt\" \"{poison}\"'") deployer.succeed(f"nix-build -E 'with import <nixpkgs> {{}}; writeText \"forbidden-text.txt\" \"{poison}\"'")
new_store_paths = " ".join(get_new_store_paths()) new_store_paths = " ".join(get_new_store_paths())
deployer.succeed(f"grep -r '{poison}' {new_store_paths}") deployer.succeed(f"grep -r '{poison}' {new_store_paths}")
with subtest("Check that we can build nodes with dots in their names"):
deployer.succeed("cd /tmp/bundle &&" \
f"{colmena} build --evaluator {evaluator} --eval-node-limit 4 --on gamma.tld")