nixosTests.proxyprotocol: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski
2025-03-30 03:22:00 +02:00
parent f021a4b13c
commit cfb69d81fa
2 changed files with 146 additions and 148 deletions

View File

@@ -807,7 +807,7 @@ in {
nginx-modsecurity = runTest ./nginx-modsecurity.nix;
nginx-moreheaders = runTest ./nginx-moreheaders.nix;
nginx-njs = handleTest ./nginx-njs.nix {};
nginx-proxyprotocol = handleTest ./nginx-proxyprotocol {};
nginx-proxyprotocol = runTest ./nginx-proxyprotocol/default.nix;
nginx-pubhtml = handleTest ./nginx-pubhtml.nix {};
nginx-redirectcode = handleTest ./nginx-redirectcode.nix {};
nginx-sso = handleTest ./nginx-sso.nix {};

View File

@@ -1,9 +1,8 @@
let
certs = import ./snakeoil-certs.nix;
in
import ../make-test-python.nix (
{ pkgs, ... }:
{
{ pkgs, ... }:
{
name = "nginx-proxyprotocol";
meta = {
@@ -160,5 +159,4 @@ import ../make-test-python.nix (
# spoof("1.1.1.1", "127.0.0.4", "direct-nossl.test.nix")
# spoof("1.1.1.1", "127.0.0.4", "unsecure-nossl.test.nix", expect_failure=False)
'';
}
)
}