Fix installer test evaluation
This commit is contained in:
@@ -193,13 +193,13 @@ let
|
|||||||
|
|
||||||
makeInstallerTest =
|
makeInstallerTest =
|
||||||
{ createPartitions, fileSystems, testChannel ? false, grubVersion ? 2, grubDevice ? "/dev/vda" }:
|
{ createPartitions, fileSystems, testChannel ? false, grubVersion ? 2, grubDevice ? "/dev/vda" }:
|
||||||
makeTest ({ ... }: {
|
makeTest {
|
||||||
inherit iso;
|
inherit iso;
|
||||||
nodes = if testChannel then { inherit webserver; } else { };
|
nodes = if testChannel then { inherit webserver; } else { };
|
||||||
testScript = testScriptFun {
|
testScript = testScriptFun {
|
||||||
inherit createPartitions fileSystems testChannel grubVersion grubDevice;
|
inherit createPartitions fileSystems testChannel grubVersion grubDevice;
|
||||||
};
|
};
|
||||||
});
|
};
|
||||||
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
@@ -329,7 +329,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Rebuild the CD configuration with a little modification.
|
# Rebuild the CD configuration with a little modification.
|
||||||
rebuildCD = makeTest ({ ... }:
|
rebuildCD = makeTest
|
||||||
{ inherit iso;
|
{ inherit iso;
|
||||||
nodes = { };
|
nodes = { };
|
||||||
testScript =
|
testScript =
|
||||||
@@ -353,5 +353,5 @@ in {
|
|||||||
|
|
||||||
$machine->shutdown;
|
$machine->shutdown;
|
||||||
'';
|
'';
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user