From 0ecda32942235f638cffceecf645b9446d069580 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Wed, 12 Oct 2011 12:21:54 +0000 Subject: [PATCH] * Fix the installer.simple test. svn path=/nixos/trunk/; revision=29780 --- tests/installer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/installer.nix b/tests/installer.nix index 900457dfabd6..921de563ab32 100644 --- a/tests/installer.nix +++ b/tests/installer.nix @@ -94,7 +94,7 @@ let createDisk("harddisk", 4 * 1024); my $machine = createMachine({ hda => "harddisk", cdrom => glob("${iso}/iso/*.iso"), - qemuFlags => '${if testChannel then qemuNICFlags 1 1 2 else ""}'}); + qemuFlags => '${optionalString testChannel (toString (qemuNICFlags 1 1 2))}'}); $machine->start; ${optionalString testChannel ''