Check for SYS/GL during library init. Reason is that
[AROS.git] / test / clib / opendir.c
bloba72945d043e966fe7fdb29e91be008bccefffbe0
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <sys/types.h>
7 #include <dirent.h>
8 #include <stdio.h>
9 #include "test.h"
11 DIR *dir;
13 int main()
15 dir = opendir("RAM:T");
16 TEST((dir));
17 closedir(dir);
18 return OK;
21 void cleanup()
23 if(dir)
24 closedir(dir);