Displaying 2 results from an estimated 2 matches for "5c0948252".
Did you mean:
1.0948252
2018 Mar 21
2
[PATCH] tests: regressions: make test-big-heap use a temporary empty file
...just
calls qemu-img to get the format of an empty image, create a temporary
one instead.
---
tests/regressions/test-big-heap.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/tests/regressions/test-big-heap.c b/tests/regressions/test-big-heap.c
index b841fba70..5c0948252 100644
--- a/tests/regressions/test-big-heap.c
+++ b/tests/regressions/test-big-heap.c
@@ -31,6 +31,7 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
+#include <unistd.h>
#include "guestfs.h"
#include "guestfs-utils.h"
@@ -41,6 +42,8...
2018 Mar 21
0
Re: [PATCH] tests: regressions: make test-big-heap use a temporary empty file
...tead.
ACK, but feels like this is a bug in qemu-img to me.
Rich.
> tests/regressions/test-big-heap.c | 16 +++++++++++++++-
> 1 file changed, 15 insertions(+), 1 deletion(-)
>
> diff --git a/tests/regressions/test-big-heap.c b/tests/regressions/test-big-heap.c
> index b841fba70..5c0948252 100644
> --- a/tests/regressions/test-big-heap.c
> +++ b/tests/regressions/test-big-heap.c
> @@ -31,6 +31,7 @@
> #include <stdlib.h>
> #include <string.h>
> #include <assert.h>
> +#include <unistd.h>
>
> #include "guestfs.h"
> #...