summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/testfile.c
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-23 19:01:09 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-23 19:01:09 +0000
commit149d2ffa779826cb48a381099858e76e4624d471 (patch)
tree1adb922c55da8094039ea14f4b2178314d51f2a1 /nsprpub/pr/tests/testfile.c
parent25b6703e956a33e0ecd8bdc18f423e5eb5dd09d4 (diff)
downloadUXP-149d2ffa779826cb48a381099858e76e4624d471.tar
UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.gz
UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.lz
UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.xz
UXP-149d2ffa779826cb48a381099858e76e4624d471.zip
Issue #1693 - Update NSPR to 4.29
Diffstat (limited to 'nsprpub/pr/tests/testfile.c')
-rw-r--r--nsprpub/pr/tests/testfile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nsprpub/pr/tests/testfile.c b/nsprpub/pr/tests/testfile.c
index 99cf94ddd..79d8a05f9 100644
--- a/nsprpub/pr/tests/testfile.c
+++ b/nsprpub/pr/tests/testfile.c
@@ -17,6 +17,10 @@
#include <pthread.h>
#endif
+#if defined(XP_UNIX)
+#include <unistd.h>
+#endif
+
#if defined(XP_OS2)
#define INCL_DOSFILEMGR
#include <os2.h>
@@ -71,7 +75,7 @@ char *TEST_DIR = "C:\\temp\\prdir";
char *FILE_NAME = "pr_testfile";
char *HIDDEN_FILE_NAME = "hidden_pr_testfile";
#else
-char *TEST_DIR = "/tmp/testfile_dir";
+char *TEST_DIR = "./tmp-testfile_dir";
char *FILE_NAME = "pr_testfile";
char *HIDDEN_FILE_NAME = ".hidden_pr_testfile";
#endif