nixosTests.nginx-etag: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-29 23:48:17 +01:00
parent fa5141395f
commit a186de0fa1
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 4 additions and 3 deletions

View file

@ -799,7 +799,7 @@ in {
nghttpx = handleTest ./nghttpx.nix {};
nginx = runTest ./nginx.nix;
nginx-auth = runTest ./nginx-auth.nix;
nginx-etag = handleTest ./nginx-etag.nix {};
nginx-etag = runTest ./nginx-etag.nix;
nginx-etag-compression = handleTest ./nginx-etag-compression.nix {};
nginx-globalredirect = handleTest ./nginx-globalredirect.nix {};
nginx-http3 = handleTest ./nginx-http3.nix {};

View file

@ -1,4 +1,5 @@
import ./make-test-python.nix {
{ ... }:
{
name = "nginx-etag";
nodes = {
@ -85,7 +86,7 @@ import ./make-test-python.nix {
testScript =
{ nodes, ... }:
let
inherit (nodes.server.config.system.build) toplevel;
inherit (nodes.server.system.build) toplevel;
newSystem = "${toplevel}/specialisation/pass-checks";
in
''