nixosTests.nginx-mime: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-29 23:51:25 +01:00
parent 69df9598cb
commit af2b019d25
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 22 additions and 24 deletions

View file

@ -803,7 +803,7 @@ in {
nginx-etag-compression = runTest ./nginx-etag-compression.nix; nginx-etag-compression = runTest ./nginx-etag-compression.nix;
nginx-globalredirect = runTest ./nginx-globalredirect.nix; nginx-globalredirect = runTest ./nginx-globalredirect.nix;
nginx-http3 = handleTest ./nginx-http3.nix {}; nginx-http3 = handleTest ./nginx-http3.nix {};
nginx-mime = handleTest ./nginx-mime.nix {}; nginx-mime = runTest ./nginx-mime.nix;
nginx-modsecurity = handleTest ./nginx-modsecurity.nix {}; nginx-modsecurity = handleTest ./nginx-modsecurity.nix {};
nginx-moreheaders = handleTest ./nginx-moreheaders.nix {}; nginx-moreheaders = handleTest ./nginx-moreheaders.nix {};
nginx-njs = handleTest ./nginx-njs.nix {}; nginx-njs = handleTest ./nginx-njs.nix {};

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
name = "nginx-mime"; name = "nginx-mime";
@ -23,4 +22,3 @@ import ./make-test-python.nix (
server.shutdown() server.shutdown()
''; '';
} }
)