From: Karel Zak Date: Wed, 21 Aug 2024 08:04:02 +0000 (+0200) Subject: libmount: update tests X-Git-Tag: v2.42-start~97^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee3a26d03fe7f10cf8a595790f7747bc2c7f98ca;p=thirdparty%2Futil-linux.git libmount: update tests Signed-off-by: Karel Zak --- diff --git a/libmount/src/fs.c b/libmount/src/fs.c index fdc249ed9..230448f7c 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -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)) diff --git a/tests/expected/libmount/tabfiles-parse-mountinfo b/tests/expected/libmount/tabfiles-parse-mountinfo index d5ba5248e..3380d7717 100644 --- a/tests/expected/libmount/tabfiles-parse-mountinfo +++ b/tests/expected/libmount/tabfiles-parse-mountinfo @@ -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 diff --git a/tests/expected/libmount/tabfiles-parse-mountinfo-nosrc b/tests/expected/libmount/tabfiles-parse-mountinfo-nosrc index 3d44ef60c..3458607d4 100644 --- a/tests/expected/libmount/tabfiles-parse-mountinfo-nosrc +++ b/tests/expected/libmount/tabfiles-parse-mountinfo-nosrc @@ -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 diff --git a/tests/expected/libmount/tabfiles-parse-swaps b/tests/expected/libmount/tabfiles-parse-swaps index bd781d4e3..6e94537a3 100644 --- a/tests/expected/libmount/tabfiles-parse-swaps +++ b/tests/expected/libmount/tabfiles-parse-swaps @@ -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