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>2017-04-15 19:26:37 +0300
committerChristopher Haster <chaster@utexas.edu>2017-04-18 09:44:01 +0300
commit3b1bcbe8517db576030450e0a88ff1b274570f58 (patch)
treea854d72d6b4522c1e54a1c04c9971797265a47ad /tests/test_orphan.sh
parent1f13006e36dec7d2616de61ae707b7c7089c2846 (diff)
Removed .. and . entries
No longer need to be stored on disk, can be simulated on the chip side. As mentioned in other commits, the parent entries had dozens of problems with atomic updates, as well as making everything just a bit more complex than is needed.
Diffstat (limited to 'tests/test_orphan.sh')
-rwxr-xr-xtests/test_orphan.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_orphan.sh b/tests/test_orphan.sh
index b5e7ebb..f923308 100755
--- a/tests/test_orphan.sh
+++ b/tests/test_orphan.sh
@@ -17,7 +17,7 @@ tests/test.py << TEST
TEST
# remove most recent file, this should be the update to the previous
# linked-list entry and should orphan the child
-rm -v "blocks/$(ls -t blocks | sed -n '/^[0-9a-f]*$/p' | sed -n '1p')"
+rm -v blocks/8
tests/test.py << TEST
lfs_mount(&lfs, &config) => 0;
lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERROR_NO_ENTRY;