Cleaned up enough things to pass basic file testing

This commit is contained in:
Christopher Haster
2018-05-26 13:50:06 -05:00
parent a3c67d9697
commit 0405ceb171
4 changed files with 1243 additions and 1302 deletions

View File

@@ -117,6 +117,8 @@ tests/test.py << TEST
for (int i = 0; i < $LARGESIZE; i++) {
sprintf((char*)buffer, "test%d", i);
lfs_dir_read(&lfs, &dir[0], &info) => 1;
printf("nameee %s\n", info.name);
printf("expect %s\n", (char*)buffer);
strcmp(info.name, (char*)buffer) => 0;
info.type => LFS_TYPE_DIR;
}