summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/append.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/append.c')
-rw-r--r--nsprpub/pr/tests/append.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsprpub/pr/tests/append.c b/nsprpub/pr/tests/append.c
index 9d688a4f8..64fe3ff2c 100644
--- a/nsprpub/pr/tests/append.c
+++ b/nsprpub/pr/tests/append.c
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
PL_DestroyOptState(opt);
} /* end block "Get command line options" */
/* ---------------------------------------------------------------------- */
- fd = PR_Open( "/tmp/nsprAppend", (PR_APPEND | PR_CREATE_FILE | PR_TRUNCATE | PR_WRONLY), 0666 );
+ fd = PR_Open( "./tmp-nsprAppend", (PR_APPEND | PR_CREATE_FILE | PR_TRUNCATE | PR_WRONLY), 0666 );
if ( NULL == fd ) {
if (debug) {
printf("PR_Open() failed for writing: %d\n", PR_GetError());
@@ -98,7 +98,7 @@ int main(int argc, char **argv)
goto Finished;
}
/* ---------------------------------------------------------------------- */
- fd = PR_Open( "/tmp/nsprAppend", PR_RDONLY, 0 );
+ fd = PR_Open( "./tmp-nsprAppend", PR_RDONLY, 0 );
if ( NULL == fd ) {
if (debug) {
printf("PR_Open() failed for reading: %d\n", PR_GetError());