From ef7d2d2dd5ba960291a09048fe39b19f2258f022 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Tue, 7 Mar 2023 00:23:35 -0800 Subject: [PATCH] add explanation on why we need the custom disnixTest --- tests/integration/common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/common.nix b/tests/integration/common.nix index f2d519f..6a1000e 100644 --- a/tests/integration/common.nix +++ b/tests/integration/common.nix @@ -14,6 +14,11 @@ let }; in { + # We need this function because, for a reason that eludes me, the + # one defined in disnixos fails the name attribute not correctly set + # in the call to simpleTest. The only difference between this + # function and the one in disnixos is the additional `inherit name` + # line. disnixTest = system: {name, manifest, tarball, networkFile, externalNetworkFile ? false, testScript, dysnomiaStateDir ? "", postActivateTimeout ? 1}: