muimaster.library: migrate event handling from Listview to List
[AROS.git] / test / clib / tmpfile.c
blob5c91a23452902e0191704c1671cd9540e1eadad5
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <stdio.h>
7 #include <string.h>
8 #include "test.h"
10 int main()
13 int i;
14 FILE * fp;
16 /* FIXME: loop over about 30 to test that tmpfile() copes with
17 more temp files than there are letters in the alphabet. This
18 is known to be a bug as at 11-Sep-2005
20 for(i = 0; i<20; i++) /* repeat test to catch problems */
22 fp = tmpfile();
23 TEST((fp != NULL));
24 fprintf(fp, "test text %d", i);
28 return OK;
31 void cleanup()
33 /* Nothing to clean up */