- ok1(rbuf_open(&in, "run-all-file", NULL, 0));
- /* Can't fill without realloc. */
- ok1(!rbuf_fill(&in, NULL));
+ ok1(rbuf_open(&in, "run-all-file", NULL, 0, test_realloc));
+ /* Can't fill if realloc fails. */
+ test_realloc_fail = true;
+ ok1(!rbuf_fill(&in));