summaryrefslogtreecommitdiff
path: root/pr/tests/foreign.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/foreign.c')
-rw-r--r--pr/tests/foreign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pr/tests/foreign.c b/pr/tests/foreign.c
index a711b758..a1f5b5cb 100644
--- a/pr/tests/foreign.c
+++ b/pr/tests/foreign.c
@@ -223,7 +223,8 @@ static void OneShot(void *arg)
break;
case 6:
-#define TEMP_DIR "/tmp/"
+#define TEMP_DIR "./tmp"
+ PR_MkDir(TEMP_DIR, 0700);
dir = PR_OpenDir(TEMP_DIR);
DPRINTF((output,"Thread[0x%x] called PR_OpenDir\n",
PR_GetCurrentThread()));