Skip to content

Commit 573eec7

Browse files
authored
Fix permission problem in streams.txt (#6168)
The current test yields an error if called by a user that has no write permissions in the GAP installation directory. With this change the files in the test are created in a temporary directory instead.
1 parent 09d5b09 commit 573eec7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tst/testinstall/streams.tst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ Error, Print formatting status must be true or false
212212

213213
# too many open files
214214
gap> streams := [ ];;
215+
gap> fname := Filename(tmpdir, "testdata");;
215216
gap> for i in [ 1 .. 300 ] do
216217
> stream := OutputTextFile( fname, false );
217218
> Assert(0, stream <> fail);

0 commit comments

Comments
 (0)