summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/testfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/testfile.c')
-rw-r--r--nsprpub/pr/tests/testfile.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nsprpub/pr/tests/testfile.c b/nsprpub/pr/tests/testfile.c
index 79d8a05f92..99cf94ddd5 100644
--- a/nsprpub/pr/tests/testfile.c
+++ b/nsprpub/pr/tests/testfile.c
@@ -17,10 +17,6 @@
#include <pthread.h>
#endif
-#if defined(XP_UNIX)
-#include <unistd.h>
-#endif
-
#if defined(XP_OS2)
#define INCL_DOSFILEMGR
#include <os2.h>
@@ -75,7 +71,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