Fix installer test evaluation

This commit is contained in:
Eelco Dolstra 2014-04-14 16:24:08 +02:00
parent 5d6c6abe50
commit 4f2aa2f706

View file

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