diff options
author | Fabian Möller <fabianm88@gmail.com> | 2022-01-22 23:17:27 +0100 |
---|---|---|
committer | Fabian Möller <fabianm88@gmail.com> | 2022-01-22 23:17:27 +0100 |
commit | c1a042c7983c72fbf69ff55d00fe366ff46a6ecd (patch) | |
tree | 22724c18e070ecc99f5af7f78ebacc00a36c1013 | |
parent | d15b4964bd9346e2d0b9eb4de2947386a9bf9fb3 (diff) |
nixos/test/doh-proxy-rust: fix failing check
-rw-r--r-- | nixos/tests/doh-proxy-rust.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/doh-proxy-rust.nix b/nixos/tests/doh-proxy-rust.nix index 23f8616849c3..11ed87d23bbe 100644 --- a/nixos/tests/doh-proxy-rust.nix +++ b/nixos/tests/doh-proxy-rust.nix @@ -38,6 +38,6 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: { machine.wait_for_unit("doh-proxy-rust.service") machine.wait_for_open_port(53) machine.wait_for_open_port(3000) - machine.succeed(f"curl --fail '{url}?dns={query}' | grep -F {bin_ip}") + machine.succeed(f"curl --fail -H 'Accept: application/dns-message' '{url}?dns={query}' | grep -F {bin_ip}") ''; }) |