diff -up gwenhywfar-2.6.1/test/gwentest.c.foo gwenhywfar-2.6.1/test/gwentest.c
--- gwenhywfar-2.6.1/test/gwentest.c.foo 2007-09-26 15:59:42.000000000 -0400
+++ gwenhywfar-2.6.1/test/gwentest.c 2007-09-26 15:59:42.000000000 -0400
@@ -2926,7 +2926,7 @@ int testNlHttpConnect4(int argc, char **
}
fprintf(stderr, "Connected.\n");
- fd=open(outFile, O_CREAT | O_WRONLY);
+ fd=open(outFile, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (fd==-1) {
fprintf(stderr, "Could not create outFile\n");
return 2;
@@ -3213,7 +3213,7 @@ int testNlSslConnect2(int argc, char **a
}
fprintf(stderr, "Connected.\n");
- fd=open(outFile, O_CREAT | O_WRONLY);
+ fd=open(outFile, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (fd==-1) {
fprintf(stderr, "Could not create outFile\n");
return 2;
@@ -3467,7 +3467,7 @@ int testNlFileConnect1(int argc, char **
}
fprintf(stderr, "Connected.\n");
- fd=open(outFile, O_CREAT | O_WRONLY);
+ fd=open(outFile, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (fd==-1) {
fprintf(stderr, "Could not create outFile\n");
return 2;