Unverified Commit 69df9598 authored by Piotr Kwiecinski's avatar Piotr Kwiecinski
Browse files

nixosTests.nginx-globalredirect: migrate to runTest

Part of #386873
parent 8638fa37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -801,7 +801,7 @@ in {
  nginx-auth = runTest ./nginx-auth.nix;
  nginx-etag = runTest ./nginx-etag.nix;
  nginx-etag-compression = runTest ./nginx-etag-compression.nix;
  nginx-globalredirect = handleTest ./nginx-globalredirect.nix {};
  nginx-globalredirect = runTest ./nginx-globalredirect.nix;
  nginx-http3 = handleTest ./nginx-http3.nix {};
  nginx-mime = handleTest ./nginx-mime.nix {};
  nginx-modsecurity = handleTest ./nginx-modsecurity.nix {};
+22 −24
Original line number Diff line number Diff line
import ./make-test-python.nix (
  { pkgs, ... }:
{ ... }:
{
  name = "nginx-globalredirect";

@@ -26,4 +25,3 @@ import ./make-test-python.nix (
    webserver.fail("curl --fail -si http://localhost/noredirect | grep '^Location:'")
  '';
}
)