Ever since a VM allocation strategy change, this test is fully
dysfunctional. It should be repaired and added to the regular
test set, but that will require some work.
For now, keep it in reasonable shape.
Reported by dcb314.
This closes #153.
Change-Id: Ia57bdfdf6a3fc8d47cae76a0be9881fb4d796f6d
#include <minix/drivers.h>
#include <minix/ds.h>
#include <sys/mman.h>
+#include <machine/vmparam.h>
#include <assert.h>
#include "com.h"
expect(r == OK);
/* Same story but more possibilities. I hope I got this right. */
- expect(pcount >= 3 || pcount <= 6);
+ expect(pcount >= 3 && pcount <= 6);
for (i = 0; i < 7; i++)
expect(is_buf_allocated(&buf[i]));
expect(pvecp[0].vp_addr = buf[0].phys);