projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the version name instead of the pathw
[bertos.git]
/
bertos
/
fs
/
battfs_test.c
diff --git
a/bertos/fs/battfs_test.c
b/bertos/fs/battfs_test.c
index b8c235170e7ece1d02cb0379f9c1d9eb66036705..642e6d6423b179c60ee777f76a53c27cbc50b279 100644
(file)
--- a/
bertos/fs/battfs_test.c
+++ b/
bertos/fs/battfs_test.c
@@
-1069,10
+1069,7
@@
static void openAllFiles(BattFsSuper *disk)
ASSERT(battfs_mount(disk));
ASSERT(battfs_fsck(disk));
for (unsigned i = 0; i < countof(fd); i++)
ASSERT(battfs_mount(disk));
ASSERT(battfs_fsck(disk));
for (unsigned i = 0; i < countof(fd); i++)
- {
- kprintf("apertura %d\n", i);
ASSERT(battfs_fileopen(disk, &fd[i], i, MODE));
ASSERT(battfs_fileopen(disk, &fd[i], i, MODE));
- }
ASSERT(battfs_fsck(disk));
ASSERT(battfs_fsck(disk));
@@
-1147,12
+1144,6
@@
int battfs_testTearDown(void)
return 0;
}
return 0;
}
-TEST_MAIN(battfs)
-
-#include <fs/battfs.c>
-#include <kern/kfile.c>
-#include <drv/kdebug.c>
-#include <mware/formatwr.c>
-#include <mware/hex.c>
+TEST_MAIN(battfs);
#endif // _TEST
#endif // _TEST