Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2018-05-27 18:15:28 +0300
committerChristopher Haster <chaster@utexas.edu>2018-10-14 01:44:37 +0300
commit0bdaeb7f8b3948e8b20e4c81c6e160d5b1e2eae8 (patch)
treeb017464a1f3c80f28d89d6895e4f2d84570ae287 /tests/test_dirs.sh
parent0405ceb1710cb5112feeb587241dc862375f40c8 (diff)
More testing progress, combined dir/commit traversal
Passing more tests now with the journalling change, but still have more work to do. The most humorous bug was a bug where during the three step move process, the entry move logic would dumbly copy over any tags associated with the moving entry, including the tag used to temporarily mark the entry as "moving". Also combined dir and commit traversal using a "stop_at_commit" flag in directory struct as a short-term hack to combine the code paths.
Diffstat (limited to 'tests/test_dirs.sh')
-rwxr-xr-xtests/test_dirs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dirs.sh b/tests/test_dirs.sh
index d5303cc..c9cc669 100755
--- a/tests/test_dirs.sh
+++ b/tests/test_dirs.sh
@@ -117,8 +117,6 @@ 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;
}
@@ -154,6 +152,8 @@ tests/test.py << TEST
strcmp(info.name, "..") => 0;
info.type => LFS_TYPE_DIR;
lfs_dir_read(&lfs, &dir[0], &info) => 1;
+ printf("nameee \"%s\"\n", info.name);
+ printf("expect \"%s\"\n", "burito");
strcmp(info.name, "burito") => 0;
info.type => LFS_TYPE_REG;
lfs_dir_read(&lfs, &dir[0], &info) => 1;