summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/testfile.c
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-14 22:48:01 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-20 08:53:32 +0000
commit4b9f39c8775099fbbbe06d3766e1fc44a35b3f12 (patch)
tree5deffcd2d8ea4593300de534f7ef1540b66f2418 /nsprpub/pr/tests/testfile.c
parent50d57df98558bd3c7a7559e04f1b9b40a4ab87ba (diff)
downloaduxp-4b9f39c8775099fbbbe06d3766e1fc44a35b3f12.tar.gz
Issue mcp-graveyard/UXP#1746 - Revert "Update NSPR to 4.29"
This reverts commit 149d2ffa779826cb48a381099858e76e4624d471.
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