HomeSort by relevance Sort by last modified time
    Searched refs:xdg_runtime_dir (Results 1 - 2 of 2) sorted by null

  /external/wayland/tests/
socket-test.c 45 /* Ensure the connection doesn't fail due to lack of XDG_RUNTIME_DIR. */
49 char *val = getenv("XDG_RUNTIME_DIR");
50 assert(val && "set $XDG_RUNTIME_DIR to run this test");
95 const char *xdg_runtime_dir; local
100 xdg_runtime_dir = require_xdg_runtime_dir();
116 xdg_runtime_dir, name);
138 const char *xdg_runtime_dir; local
143 xdg_runtime_dir = require_xdg_runtime_dir();
153 "%s/%s", xdg_runtime_dir, name);
test-runner.c 224 char xdg_runtime_dir[PATH_MAX]; local
227 xrd_env = getenv("XDG_RUNTIME_DIR");
228 /* if XDG_RUNTIME_DIR is not set in environ, fallback to /tmp */
229 assert((snprintf(xdg_runtime_dir, PATH_MAX, "%s/wayland-tests-XXXXXX",
231 && "test error: XDG_RUNTIME_DIR too long");
233 assert(mkdtemp(xdg_runtime_dir) && "test error: mkdtemp failed");
234 if (mkdir(xdg_runtime_dir, 0700) == -1)
236 perror("Creating XDG_RUNTIME_DIR");
240 if (setenv("XDG_RUNTIME_DIR", xdg_runtime_dir, 1) == -1)
    [all...]

Completed in 3559 milliseconds