repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move the tests under the debug folder
[AROS.git]
/
debug
/
test
/
clib
/
opendir.c
blob
a72945d043e966fe7fdb29e91be008bccefffbe0
1
/*
2
Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#include <sys/types.h>
7
#include <dirent.h>
8
#include <stdio.h>
9
#include
"test.h"
10
11
DIR
*
dir
;
12
13
int
main
()
14
{
15
dir
=
opendir
(
"RAM:T"
);
16
TEST
((
dir
));
17
closedir
(
dir
);
18
return
OK
;
19
}
20
21
void
cleanup
()
22
{
23
if
(
dir
)
24
closedir
(
dir
);
25
}