Files
apfstests/tests/generic/621.out
T
Eric Biggers a225507009 generic: test for creating duplicate filenames in encrypted dir
Test for a race condition where a duplicate filename could be created in
an encrypted directory while the directory's encryption key was being
added concurrently.

generic/595 was already failing on ubifs due to this bug, but only by
accident.  This new test detects the bug on both ext4 and ubifs.  I
wasn't able to get it to detect the bug on f2fs.

Signed-off-by: Eric Biggers <ebiggers@google.com>
2020-12-21 00:18:42 +08:00

22 lines
512 B
Plaintext

QA output created by 621
# Creating encrypted directory containing files
Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
# Starting duplicate filename creator process
# Starting add/remove enckey process
# Running for a few seconds...
# Stopping subprocesses
# Checking for duplicate filenames via readdir
100
# Checking for unexpected change in inode number
# Checking for operations that unexpectedly succeeded on an existing filename
# Checking for duplicate filenames via fsck