- asprintf(&t, "%s/%zd", tmp, i);
+ asprintf(&t, "%s/%d", tmp, i);
T_QUIET; T_ASSERT_POSIX_SUCCESS(mkdir(t, 0700), "mkdir");
setenv("BATS_TMP_DIR", t, 1); // hack to workaround rdar://33443485
free(t);
T_QUIET; T_ASSERT_POSIX_SUCCESS(mkdir(t, 0700), "mkdir");
setenv("BATS_TMP_DIR", t, 1); // hack to workaround rdar://33443485
free(t);
} while (shmem->done <= i);
}
setenv("BATS_TMP_DIR", tmpdir, 1);
} while (shmem->done <= i);
}
setenv("BATS_TMP_DIR", tmpdir, 1);