mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
nixos/tinydns: use local dns server to fix test
This commit is contained in:
parent
af1fffab5b
commit
c8a873560f
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ import ./make-test-python.nix ({ lib, ...} : {
|
||||||
testScript = ''
|
testScript = ''
|
||||||
nameserver.start()
|
nameserver.start()
|
||||||
nameserver.wait_for_unit("tinydns.service")
|
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'")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue