summaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2022-09-24 10:27:51 +0300
committerRan Benita <ran@unusedvar.com>2022-09-24 12:31:53 +0300
commitf9858bf5b97a6ae9a79629fd724a8177232eda00 (patch)
tree8a3b24e2834e8f59053d93f19ab08e504e3c55c9 /test/test.h
parent4d8293901b89863f8d024cf2ed9138f4f6133196 (diff)
downloadxorg-lib-libxkbcommon-f9858bf5b97a6ae9a79629fd724a8177232eda00.tar.gz
test: move mkdir & mkdtemp calls to common place and fix them on MSVC
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.h b/test/test.h
index 81ba49b..ba06deb 100644
--- a/test/test.h
+++ b/test/test.h
@@ -54,6 +54,12 @@ int
test_key_seq_va(struct xkb_keymap *keymap, va_list args);
char *
+test_makedir(const char *parent, const char *path);
+
+char *
+test_maketempdir(const char *template);
+
+char *
test_get_path(const char *path_rel);
char *