diff options
author | David Robillard <d@drobilla.net> | 2023-02-04 19:23:25 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-02-04 19:23:25 -0500 |
commit | c4b3814edad510c6c124089822bd5506f9334411 (patch) | |
tree | 91285034689ac547c455cd479c830e1a246067ae | |
parent | 5d4a33443d8652f26ab3323a835726e7bd99bdd8 (diff) | |
download | zix-c4b3814edad510c6c124089822bd5506f9334411.tar.gz zix-c4b3814edad510c6c124089822bd5506f9334411.tar.bz2 zix-c4b3814edad510c6c124089822bd5506f9334411.zip |
Use a more realistic scenario for file locking test
-rw-r--r-- | test/test_filesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_filesystem.c b/test/test_filesystem.c index 75829ca..18a6efc 100644 --- a/test/test_filesystem.c +++ b/test/test_filesystem.c @@ -349,7 +349,7 @@ test_flock(void) assert(file_path); FILE* const f1 = fopen(file_path, "w"); - FILE* const f2 = fopen(file_path, "w"); + FILE* const f2 = fopen(file_path, "a+"); assert(f1); assert(f2); |