Displaying 3 results from an estimated 3 matches for "do_internal_autosync".
2015 Jun 25
0
[PATCH v2 7/9] tests: daemon: Cleanly shut down the daemon on exit.
...--
generator/actions.ml | 3 ++-
tests/daemon/captive-daemon.pm.in | 12 +++++-------
3 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/daemon/internal.c b/daemon/internal.c
index 781366d..5fb3d54 100644
--- a/daemon/internal.c
+++ b/daemon/internal.c
@@ -46,14 +46,9 @@ do_internal_autosync (void)
}
/* NB: Only called when valgrinding the daemon. */
-int
+int __attribute__((noreturn))
do_internal_exit (void)
{
- if (!autosync_umount) {
- reply_with_error ("guestfsd -r flag used, ignoring");
- return -1;
- }
-
/* Send a reply before exiting so the protocol do...
2015 Jun 25
13
[PATCH v2 0/9] Better testing of the guestfsd daemon.
In v2:
- Kernel command line parsing now moved to the appliance.
- In the captive daemon test, the daemon cleanly shuts down on exit.
- Add another btrfs test.
Rich.
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