From 5b13d6a1c905e1e425e6b7ca340a410c580f0f75 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 8 Apr 2019 13:33:04 +0200 Subject: tests: add /mnt/test/foo^Mbar to mountinfo tests Addresses: https://github.com/karelzak/util-linux/issues/780 Signed-off-by: Karel Zak --- tests/expected/libmount/tabdiff-mount | 1 + tests/expected/libmount/tabdiff-move | 1 + tests/expected/libmount/tabdiff-remount | 1 + tests/expected/libmount/tabdiff-umount | 1 + tests/expected/libmount/tabfiles-parse-mountinfo | 12 ++++++++++++ tests/expected/libmount/tabfiles-py-parse-mountinfo | 12 ++++++++++++ 6 files changed, 28 insertions(+) (limited to 'tests/expected') diff --git a/tests/expected/libmount/tabdiff-mount b/tests/expected/libmount/tabdiff-mount index dc1c4bd10..420aeacd5 100644 --- a/tests/expected/libmount/tabdiff-mount +++ b/tests/expected/libmount/tabdiff-mount @@ -1,2 +1,3 @@ /dev/mapper/kzak-home on /home/kzak: MOUNTED /fooooo on /mnt/foo: MOUNTED +tmpfs on /mnt/test/foo bar: MOUNTED diff --git a/tests/expected/libmount/tabdiff-move b/tests/expected/libmount/tabdiff-move index 3618498bc..24f9bc791 100644 --- a/tests/expected/libmount/tabdiff-move +++ b/tests/expected/libmount/tabdiff-move @@ -1,2 +1,3 @@ //foo.home/bar/ on /mnt/music: MOVED to /mnt/music /fooooo on /mnt/foo: UMOUNTED +tmpfs on /mnt/test/foo bar: UMOUNTED diff --git a/tests/expected/libmount/tabdiff-remount b/tests/expected/libmount/tabdiff-remount index c175fdb76..82ebeab39 100644 --- a/tests/expected/libmount/tabdiff-remount +++ b/tests/expected/libmount/tabdiff-remount @@ -1,3 +1,4 @@ /dev/mapper/kzak-home on /home/kzak: REMOUNTED from 'rw,noatime,barrier=1,data=ordered' to 'ro,noatime,barrier=1,data=ordered' //foo.home/bar/ on /mnt/sounds: REMOUNTED from 'rw,relatime,unc=\\foo.home\bar,username=kzak,domain=SRGROUP,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.111.1,posixpaths,serverino,acl,rsize=16384,wsize=57344' to 'ro,relatime,unc=\\foo.home\bar,username=kzak,domain=SRGROUP,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.111.1,posixpaths,serverino,acl,rsize=16384,wsize=57344' /fooooo on /mnt/foo: UMOUNTED +tmpfs on /mnt/test/foo bar: UMOUNTED diff --git a/tests/expected/libmount/tabdiff-umount b/tests/expected/libmount/tabdiff-umount index 7e39af21d..a3e0fe48a 100644 --- a/tests/expected/libmount/tabdiff-umount +++ b/tests/expected/libmount/tabdiff-umount @@ -1,2 +1,3 @@ /dev/mapper/kzak-home on /home/kzak: UMOUNTED /fooooo on /mnt/foo: UMOUNTED +tmpfs on /mnt/test/foo bar: UMOUNTED diff --git a/tests/expected/libmount/tabfiles-parse-mountinfo b/tests/expected/libmount/tabfiles-parse-mountinfo index c8390ac4e..47eb77006 100644 --- a/tests/expected/libmount/tabfiles-parse-mountinfo +++ b/tests/expected/libmount/tabfiles-parse-mountinfo @@ -361,3 +361,15 @@ root: / id: 48 parent: 20 devno: 0:39 +------ fs: +source: tmpfs +target: /mnt/test/foo bar +fstype: tmpfs +optstr: rw,relatime +VFS-optstr: rw,relatime +FS-opstr: rw +optional-fields: 'shared:323' +root: / +id: 49 +parent: 20 +devno: 0:56 diff --git a/tests/expected/libmount/tabfiles-py-parse-mountinfo b/tests/expected/libmount/tabfiles-py-parse-mountinfo index c8390ac4e..47eb77006 100644 --- a/tests/expected/libmount/tabfiles-py-parse-mountinfo +++ b/tests/expected/libmount/tabfiles-py-parse-mountinfo @@ -361,3 +361,15 @@ root: / id: 48 parent: 20 devno: 0:39 +------ fs: +source: tmpfs +target: /mnt/test/foo bar +fstype: tmpfs +optstr: rw,relatime +VFS-optstr: rw,relatime +FS-opstr: rw +optional-fields: 'shared:323' +root: / +id: 49 +parent: 20 +devno: 0:56 -- cgit v1.2.3-55-g7522