Displaying 2 results from an estimated 2 matches for "96bbbd6".
2015 Jun 23
0
[PATCH 3/7] daemon: Add --cmdline option for testing.
...*/
@@ -210,7 +223,8 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
- cmdline = read_cmdline ();
+ if (!cmdline)
+ cmdline = read_cmdline ();
/* Set the verbose flag. */
verbose = verbose ||
diff --git a/daemon/guestfsd.pod b/daemon/guestfsd.pod
index 1ed31a9..96bbbd6 100644
--- a/daemon/guestfsd.pod
+++ b/daemon/guestfsd.pod
@@ -50,6 +50,12 @@ removed.
Display brief help.
+=item B<--cmdline> CMDLINE
+
+This option is used for testing. Instead of reading the Linux kernel
+command line from F</proc/cmdline>, use the value given on the
+program...
2015 Jun 23
10
[PATCH 0/7] Better testing of the guestfsd daemon.
Currently we are unable to properly run guestfsd (the daemon) under
valgrind. Attempts to run valgrind inside the appliance have not been
successful (see patch 1/7).
However we desperately need better valgrind coverage of the daemon,
particularly because it is doing a lot of complex parsing of program
output. This has been a problem for a long time.
A better way to attack this problem is to