about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2022-02-19 16:31:14 +0100
committerGitHub <noreply@github.com>2022-02-19 16:31:14 +0100
commit4ccf58647ab036fcc92ddc13c877435aa71ad932 (patch)
tree3719ec8e95a1f9d413d14b20f51058e42b65eb98 /nixos
parentb0cb2154744b31a1709067d532008ffd4896a3c1 (diff)
parentc1a042c7983c72fbf69ff55d00fe366ff46a6ecd (diff)
Merge pull request #156224 from B4dM4n/nixos-tests-doh-proxy-rust
nixos/test/doh-proxy-rust: fix failing check
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/doh-proxy-rust.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/doh-proxy-rust.nix b/nixos/tests/doh-proxy-rust.nix
index 23f8616849c3d..11ed87d23bbe6 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}")
   '';
 })