summaryrefslogtreecommitdiff
path: root/tests/test_basic.py
diff options
context:
space:
mode:
authorRoland Vet <RlndVt@protonmail.com>2024-02-21 08:27:40 +0100
committerRoland Vet <RlndVt@protonmail.com>2024-02-22 08:12:28 +0100
commit466802d8c73720400415e3e65ee0b263b90f3935 (patch)
tree3c85ca1cf5153d4f4be2f9eafb315c81d7915a03 /tests/test_basic.py
parent25e84a9917fc8c2f1c7d2976e946c5e5a22b3589 (diff)
Fix line check
Output has become much more verbose: mounting version 1.6: btree_subvolume_children opts=ro,errors=continue,degraded,nochanges,norecovery,read_only recovering from clean shutdown, journal seq 9 alloc_read... done stripes_read... done snapshots_read... done u64s 16 type inode_v3 0:4096:U32_MAX len 0 ver 0: mode=40755 flags= (16300000) journal_seq=1 bi_size=0 bi_sectors=0 bi_version=0bi_atime=90363614 bi_ctime=91363625 bi_mtime=91363625 bi_otime=90363614 bi_uid=0 bi_gid=0 bi_nlink=1 bi_generation=0 bi_dev=0 bi_data_checksum=0 bi_compression=0 bi_project=0 bi_background_compression=0 bi_data_replicas=0 bi_promote_target=0 bi_foreground_target=0 bi_background_target=0 bi_erasure_code=0 bi_fields_set=0 bi_dir=0 bi_dir_offset=0 bi_subvol=1 bi_parent_subvol=0 bi_nocow=0 u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: mode=40700 flags= (15300000) journal_seq=1 bi_size=0 bi_sectors=0 bi_version=0bi_atime=91363625 bi_ctime=91363625 bi_mtime=91363625 bi_otime=91363625 bi_uid=0 bi_gid=0 bi_nlink=0 bi_generation=0 bi_dev=0 bi_data_checksum=0 bi_compression=0 bi_project=0 bi_background_compression=0 bi_data_replicas=0 bi_promote_target=0 bi_foreground_target=0 bi_background_target=0 bi_erasure_code=0 bi_fields_set=0 bi_dir=4096 bi_dir_offset=453699834857023875 bi_subvol=0 bi_parent_subvol=0 bi_nocow=0 Signed-off-by: Roland Vet <RlndVt@protonmail.com>
Diffstat (limited to 'tests/test_basic.py')
-rw-r--r--tests/test_basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_basic.py b/tests/test_basic.py
index a2e95c59..65ad105e 100644
--- a/tests/test_basic.py
+++ b/tests/test_basic.py
@@ -45,7 +45,7 @@ def test_list_inodes(tmpdir):
assert ret.returncode == 0
assert len(ret.stderr) == 0
- assert len(ret.stdout.splitlines()) == (2 + 2) # 2 inodes on clean format
+ assert len(ret.stdout.splitlines()) == (67)
def test_list_dirent(tmpdir):
dev = util.format_1g(tmpdir)