On Thu, Mar 16, 2017 at 06:01:35PM +0000, Peter Maydell wrote: > On 16 March 2017 at 15:23, Peter Maydell <peter.mayd...@linaro.org> wrote: > > (Technically right this instant 'mips' and 's390' would be in the > > 'dump' list, since I don't personally have access yet. But we have > > a plan for s390, and it turns out there is a mips machine in the > > gcc compile farm which I'm just checking out.) > > ...unfortunately the gcc compile farm mips board (1) is very slow > and (2) has very little disk space free in /tmp, which means that > it can't pass "make check" because for instance tests/test-replication > assumes it can write comparatively large test files to /tmp/...
This should be enough to make it use the local build dir instead: diff --git a/tests/test-replication.c b/tests/test-replication.c index fac2da3..2a61a23 100644 --- a/tests/test-replication.c +++ b/tests/test-replication.c @@ -19,14 +19,14 @@ /* primary */ #define P_ID "primary-id" -static char p_local_disk[] = "/tmp/p_local_disk.XXXXXX"; +static char p_local_disk[] = "p_local_disk.XXXXXX"; /* secondary */ #define S_ID "secondary-id" #define S_LOCAL_DISK_ID "secondary-local-disk-id" -static char s_local_disk[] = "/tmp/s_local_disk.XXXXXX"; -static char s_active_disk[] = "/tmp/s_active_disk.XXXXXX"; -static char s_hidden_disk[] = "/tmp/s_hidden_disk.XXXXXX"; +static char s_local_disk[] = "s_local_disk.XXXXXX"; +static char s_active_disk[] = "s_active_disk.XXXXXX"; +static char s_hidden_disk[] = "s_hidden_disk.XXXXXX"; /* FIXME: steal from blockdev.c */ QemuOptsList qemu_drive_opts = { Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|