summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/foreign.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/foreign.c')
-rw-r--r--nsprpub/pr/tests/foreign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nsprpub/pr/tests/foreign.c b/nsprpub/pr/tests/foreign.c
index a711b7580..a1f5b5cbc 100644
--- a/nsprpub/pr/tests/foreign.c
+++ b/nsprpub/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()));