nixosTests.nginx-auth: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski
2025-03-29 23:47:25 +01:00
parent 389f2fb908
commit fa5141395f
2 changed files with 45 additions and 47 deletions

View File

@@ -798,7 +798,7 @@ in {
nfs4 = handleTest ./nfs { version = 4; };
nghttpx = handleTest ./nghttpx.nix {};
nginx = runTest ./nginx.nix;
nginx-auth = handleTest ./nginx-auth.nix {};
nginx-auth = runTest ./nginx-auth.nix;
nginx-etag = handleTest ./nginx-etag.nix {};
nginx-etag-compression = handleTest ./nginx-etag-compression.nix {};
nginx-globalredirect = handleTest ./nginx-globalredirect.nix {};

View File

@@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, ... }:
{
{ pkgs, ... }:
{
name = "nginx-auth";
nodes = {
@@ -50,5 +49,4 @@ import ./make-test-python.nix (
"curl --fail --resolve lockedsubdir:80:127.0.0.1 http://bob:pwofb@lockedsubdir/sublocation/index.html"
)
'';
}
)
}