diff options
author | Christopher Haster <chaster@utexas.edu> | 2017-04-30 20:35:50 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2017-05-08 08:48:28 +0300 |
commit | 63b52c9f2e8305f983c9fc491c3d7e4a0f7bf670 (patch) | |
tree | d2d45b4b9313f585f658f94b100ab610801ff418 /Makefile | |
parent | 8621b61f38126dd59bc6c6316e7393b18fb1bff5 (diff) |
Added proper handling for removing open files
Conveniently we previously added a linked-list of files
for things like this. This should handle most of the corner
cases where files are open during strange operations.
This also brings up the point that we aren't doing anything similar
for directories and don't even have a dir linked-list. After thinking
about it for a while, I've decided to leave out this handling for dirs.
It will likely be very complicated, with little gains as directories
are less used in embedded systems. Additionally, dirs are only open
for reading, and corruption will probably just cause the dir iteration
to terminate. If needed, correct handling of open directories can be
added later.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,7 +31,8 @@ size: $(OBJ) $(SIZE) -t $^ .SUFFIXES: -test: test_format test_dirs test_files test_seek test_alloc test_paths test_orphan +test: test_format test_dirs test_files test_seek test_parallel \ + test_alloc test_paths test_orphan test_%: tests/test_%.sh ./$< |