diff options
Diffstat (limited to 't/unit-tests')
| -rw-r--r-- | t/unit-tests/clar/clar/sandbox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/unit-tests/clar/clar/sandbox.h b/t/unit-tests/clar/clar/sandbox.h index 7c177f3525..e25057b7c4 100644 --- a/t/unit-tests/clar/clar/sandbox.h +++ b/t/unit-tests/clar/clar/sandbox.h @@ -122,6 +122,12 @@ static int build_sandbox_path(void) if (mkdir(_clar_path, 0700) != 0) return -1; +#elif defined(__TANDEM) + if (mktemp(_clar_path) == NULL) + return -1; + + if (mkdir(_clar_path, 0700) != 0) + return -1; #elif defined(_WIN32) if (_mktemp_s(_clar_path, sizeof(_clar_path)) != 0) return -1; |
