tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
Fix installer test evaluation
Eelco Dolstra
12 years ago
4f2aa2f7
5d6c6abe
+4
-4
1 changed file
expand all
collapse all
unified
split
nixos
tests
installer.nix
+4
-4
nixos/tests/installer.nix
···
193
193
194
194
makeInstallerTest =
195
195
{ createPartitions, fileSystems, testChannel ? false, grubVersion ? 2, grubDevice ? "/dev/vda" }:
196
196
-
makeTest ({ ... }: {
196
196
+
makeTest {
197
197
inherit iso;
198
198
nodes = if testChannel then { inherit webserver; } else { };
199
199
testScript = testScriptFun {
200
200
inherit createPartitions fileSystems testChannel grubVersion grubDevice;
201
201
};
202
202
-
});
202
202
+
};
203
203
204
204
205
205
in {
···
329
329
};
330
330
331
331
# Rebuild the CD configuration with a little modification.
332
332
-
rebuildCD = makeTest ({ ... }:
332
332
+
rebuildCD = makeTest
333
333
{ inherit iso;
334
334
nodes = { };
335
335
testScript =
···
353
353
354
354
$machine->shutdown;
355
355
'';
356
356
-
});
356
356
+
};
357
357
}