aboutsummaryrefslogtreecommitdiff
path: root/test/test_examples.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_examples.py')
-rwxr-xr-xtest/test_examples.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 5234a7d..0a2f3fd 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -266,6 +266,7 @@ def tst_mkdir(mnt_dir):
fstat = os.stat(fullname)
assert stat.S_ISDIR(fstat.st_mode)
assert os.listdir(fullname) == []
+ # Some filesystem (e.g. BTRFS) don't track st_nlink for directories
assert fstat.st_nlink in (1,2)
assert dirname in os.listdir(mnt_dir)