mirror of
https://github.com/drasko/codezero.git
synced 2026-02-13 02:13:15 +01:00
Fixed minor faults during close path.
FIXME: write/close/open/read sequence does not read the initially written data. Investigate.
This commit is contained in:
@@ -28,7 +28,18 @@ void main(void)
|
||||
wait_pager(0);
|
||||
|
||||
dirtest();
|
||||
fileio();
|
||||
printf("File IO test 1:\n");
|
||||
if (fileio() == 0)
|
||||
printf("-- PASSED --\n");
|
||||
else
|
||||
printf("-- FAILED --\n");
|
||||
|
||||
printf("File IO test 2:\n");
|
||||
if (fileio2() == 0)
|
||||
printf("-- PASSED --\n");
|
||||
else
|
||||
printf("-- FAILED --\n");
|
||||
|
||||
while (1)
|
||||
wait_pager(0);
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user