]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: update tests
authorKarel Zak <kzak@redhat.com>
Wed, 21 Aug 2024 08:04:02 +0000 (10:04 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Jan 2025 12:57:43 +0000 (13:57 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/fs.c
tests/expected/libmount/tabfiles-parse-mountinfo
tests/expected/libmount/tabfiles-parse-mountinfo-nosrc
tests/expected/libmount/tabfiles-parse-swaps

index fdc249ed9824067c946170e0e343c116fbd93fcc..230448f7ce40b6c5cb49061869d6aa6f588ab5ce 100644 (file)
@@ -1852,7 +1852,6 @@ int mnt_fs_print_debug(struct libmnt_fs *fs, FILE *file)
                stmnt_disabled = mnt_statmnt_disable_fetching(fs->stmnt, 1);
 
        fprintf(file, "------ fs:\n");
-       fprintf(file, "auto-statmount: %s\n", stmnt_disabled ? "off" : "on");
        if (mnt_fs_get_source(fs))
                fprintf(file, "source: %s\n", mnt_fs_get_source(fs));
        if (mnt_fs_get_target(fs))
index d5ba5248e4533e4ed7261d8498b9fc461e6db6d1..3380d7717b9795dbd7aceca76b52c432b2dfee54 100644 (file)
@@ -358,6 +358,7 @@ optstr: rw,relatime
 VFS-optstr: rw,relatime
 FS-opstr: rw
 optional-fields: 'shared:323'
+propagation: shared  
 root:   /
 id:     49
 parent: 20
index 3d44ef60cd7912ac415c58d414b24c507b0d2a90..3458607d44b7edbf5003c4b4de0d97eebb68ddb1 100644 (file)
@@ -72,6 +72,7 @@ optstr: rw,relatime
 VFS-optstr: rw,relatime
 FS-opstr: rw
 optional-fields: 'shared:212'
+propagation: shared  
 root:   /
 id:     21
 parent: 20
index bd781d4e3d76183fcb1979a702aba6bc309a33bd..6e94537a3e9a6e3c943c94390ea4488a1641b837 100644 (file)
@@ -1,6 +1,5 @@
 ------ fs:
 source: /dev/dm-2
-target: (null)
 fstype: swap
 swaptype: partition
 size: 8151036
@@ -8,14 +7,12 @@ usedsize: 2283436
 priority: -2
 ------ fs:
 source: /some/swapfile
-target: (null)
 fstype: swap
 swaptype: file
 size: 111
 usedsize: 111
 ------ fs:
 source: /some/swapfile2
-target: (null)
 fstype: swap
 swaptype: file
 size: 111