From 963c03f40c7d945fa88ae0862fef0a490e21083c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Santos=20Reis?= Date: Wed, 6 May 2026 10:08:45 +0100 Subject: [PATCH] shadow: move test configuration to a directory --- nixos/tests/all-tests.nix | 2 +- nixos/tests/shadow/default.nix | 4 ++++ nixos/tests/{shadow.nix => shadow/login.nix} | 0 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 nixos/tests/shadow/default.nix rename nixos/tests/{shadow.nix => shadow/login.nix} (100%) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 029a2543ec93..ad8915c8b25b 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1539,7 +1539,7 @@ in sftpgo = runTest ./sftpgo.nix; sfxr-qt = runTest ./sfxr-qt.nix; sgt-puzzles = runTest ./sgt-puzzles.nix; - shadow = runTest ./shadow.nix; + shadow = import ./shadow { inherit runTest; }; shadowsocks = handleTest ./shadowsocks { }; shadps4 = runTest ./shadps4.nix; sharkey = runTest ./web-apps/sharkey.nix; diff --git a/nixos/tests/shadow/default.nix b/nixos/tests/shadow/default.nix new file mode 100644 index 000000000000..703f1119d824 --- /dev/null +++ b/nixos/tests/shadow/default.nix @@ -0,0 +1,4 @@ +{ runTest }: +{ + login = runTest ./login.nix; +} diff --git a/nixos/tests/shadow.nix b/nixos/tests/shadow/login.nix similarity index 100% rename from nixos/tests/shadow.nix rename to nixos/tests/shadow/login.nix