now it compiles

svn path=/trunk/; revision=1845
This commit is contained in:
Nedko Arnaudov 2001-05-01 19:42:56 +00:00
parent d73834ea4f
commit 13eef5cc24

View file

@ -1,4 +1,4 @@
/* $Id: testfsd.c,v 1.2 2001/05/01 17:36:04 rex Exp $ /* $Id: testfsd.c,v 1.3 2001/05/01 19:42:56 narnaoud Exp $
* *
* FILE: testFSD.c * FILE: testFSD.c
* PURPOSE: A test set for the File System Driver * PURPOSE: A test set for the File System Driver
@ -16,7 +16,7 @@
struct TestSuite struct TestSuite
{ {
char *name; char *name;
(void)(*testFunc)(void); void (*testFunc)(void);
}; };
#define ADD_TEST(x) {#x, x} #define ADD_TEST(x) {#x, x}
@ -48,13 +48,15 @@ struct TestSuite gTests [] =
ADD_TEST (testOpenNonExistant), ADD_TEST (testOpenNonExistant),
ADD_TEST (testCreateExistant), ADD_TEST (testCreateExistant),
ADD_TEST (testCreateNonExistant), ADD_TEST (testCreateNonExistant),
ADD_TEST (testOverwriteExistant), /* ADD_TEST (testOverwriteExistant),*/
ADD_TEST (testOverwriteNonExistant), /* ADD_TEST (testOverwriteNonExistant),*/
ADD_TEST (testOpenWithBlankPathElements) ADD_TEST (testOpenWithBlankPathElements)
}; };
int main (void) int main (void)
{ {
int testIndex;
tests = assertions = failures = successes = 0; tests = assertions = failures = successes = 0;
for (testIndex = 0; testIndex < COUNT_TESTS(gTests); testIndex++) for (testIndex = 0; testIndex < COUNT_TESTS(gTests); testIndex++)