Merge pull request #80565 from Frostman/tinydns-fix-test

nixos/tinydns: use local dns server to fix test
This commit is contained in:
Michele Guerini Rocco 2020-02-20 01:09:02 +01:00 committed by GitHub
commit de56cc5217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,6 @@ import ./make-test-python.nix ({ lib, ...} : {
testScript = ''
nameserver.start()
nameserver.wait_for_unit("tinydns.service")
nameserver.succeed("host bla.foo.bar | grep '1\.2\.3\.4'")
nameserver.succeed("host bla.foo.bar 192.168.1.1 | grep '1\.2\.3\.4'")
'';
})