Author: sandervanderburg
Date: Tue Feb 14 10:56:01 2012
New Revision: 32269
URL: https://nixos.org/websvn/nix/?rev=32269&sc=1
Log:
Use the qemu monitor to temporarily disable connections
Modified:
disnix/disnixtesting/trunk/src/test/test.c
Modified: disnix/disnixtesting/trunk/src/test/test.c
==============================================================================
--- disnix/disnixtesting/trunk/src/test/test.c Tue Feb 14 10:53:09 2012
(r32268)
+++ disnix/disnixtesting/trunk/src/test/test.c Tue Feb 14 10:56:01 2012
(r32269)
@@ -68,9 +68,9 @@
}
/* Print stop and start job commands */
- g_print("$%s->mustSucceed(\"ifconfig eth1 down\");\n",
hostname);
+ g_print("$%s->block();\n", hostname);
g_print("$%s->sleep(3);\n", hostname);
- g_print("$%s->mustSucceed(\"ifconfig eth1 up\");\n", hostname);
+ g_print("$%s->unblock();\n", hostname);
}
}
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits