git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
650159f
)
tests: Move alarm(2) calls to the correct place in the tests.
author
Richard Jones
<rjones@redhat.com>
Sat, 27 Mar 2010 10:49:24 +0000
(10:49 +0000)
committer
Richard Jones
<rjones@redhat.com>
Sat, 27 Mar 2010 10:49:24 +0000
(10:49 +0000)
This is a re-fix for RHBZ#505329.
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
e996521
..
f519c4d
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-6450,14
+6450,14
@@
int main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
+ /* Set a timeout in case qemu hangs during launch (RHBZ#505329). */
+ alarm (600);
+
if (guestfs_launch (g) == -1) {
printf (\"guestfs_launch FAILED\\n\");
exit (EXIT_FAILURE);
}
- /* Set a timeout in case qemu hangs during launch (RHBZ#505329). */
- alarm (600);
-
/* Cancel previous alarm. */
alarm (0);