diff options
author | Karel Zak <kzak@redhat.com> | 2010-10-21 09:00:50 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-01-03 12:28:46 +0100 |
commit | 418187ce9644bcb996ef160444f7d7dc72b5eee0 (patch) | |
tree | 87ba3ea05d696f3fe3bf12dded2860449b9ad338 /tests/expected | |
parent | 3a5b1b1d5d8cae6e7c4ee4f33f2fc20be3ddf6f4 (diff) | |
download | util-linux-old-418187ce9644bcb996ef160444f7d7dc72b5eee0.tar.gz |
tests: add libmount mtab update test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected')
-rw-r--r-- | tests/expected/libmount/optstr-remove-quoted | 1 | ||||
-rw-r--r-- | tests/expected/libmount/update-fstab-add | 3 | ||||
-rw-r--r-- | tests/expected/libmount/update-mtab-mount | 4 | ||||
-rw-r--r-- | tests/expected/libmount/update-mtab-move | 4 | ||||
-rw-r--r-- | tests/expected/libmount/update-mtab-remount | 4 | ||||
-rw-r--r-- | tests/expected/libmount/update-mtab-umount | 2 |
6 files changed, 18 insertions, 0 deletions
diff --git a/tests/expected/libmount/optstr-remove-quoted b/tests/expected/libmount/optstr-remove-quoted new file mode 100644 index 00000000..92fc5e33 --- /dev/null +++ b/tests/expected/libmount/optstr-remove-quoted @@ -0,0 +1 @@ +result: >aaa,bbb=BBB,ccc< diff --git a/tests/expected/libmount/update-fstab-add b/tests/expected/libmount/update-fstab-add new file mode 100644 index 00000000..2b36d588 --- /dev/null +++ b/tests/expected/libmount/update-fstab-add @@ -0,0 +1,3 @@ +/dev/sda1 /mnt/foo ext3 rw,bbb,ccc,fff=FFF,ddd,noexec 1 2 +/dev/sda2 /mnt/bar auto defaults 1 2 +/dev/sda3 /mnt/bar auto rw,context="some,selinux,junk",noatime 1 2 diff --git a/tests/expected/libmount/update-mtab-mount b/tests/expected/libmount/update-mtab-mount new file mode 100644 index 00000000..6744e8c0 --- /dev/null +++ b/tests/expected/libmount/update-mtab-mount @@ -0,0 +1,4 @@ +/dev/sda1 /mnt/foo ext3 rw,bbb,ccc,fff=FFF,ddd,noexec 0 0 +/dev/sdb1 /mnt/bar ext3 gg=G,ffff=f,ro,noatime 0 0 +/dev/sda2 /mnt/bar ext3 rw,noatime 0 0 +/dev/sda1 /mnt/gogo ext3 rw,noatime,nosuid 0 0 diff --git a/tests/expected/libmount/update-mtab-move b/tests/expected/libmount/update-mtab-move new file mode 100644 index 00000000..6c6ec666 --- /dev/null +++ b/tests/expected/libmount/update-mtab-move @@ -0,0 +1,4 @@ +/dev/sda1 /mnt/newfoo ext3 rw,bbb,ccc,fff=FFF,ddd,noexec 0 0 +/dev/sdb1 /mnt/bar ext3 gg=G,ffff=f,ro,noatime 0 0 +/dev/sda2 /mnt/newbar ext3 rw,noatime 0 0 +/dev/sda1 /mnt/gogo ext3 rw,noatime,nosuid 0 0 diff --git a/tests/expected/libmount/update-mtab-remount b/tests/expected/libmount/update-mtab-remount new file mode 100644 index 00000000..ee7fb86f --- /dev/null +++ b/tests/expected/libmount/update-mtab-remount @@ -0,0 +1,4 @@ +/dev/sda1 /mnt/newfoo ext3 ro,noatime 0 0 +/dev/sdb1 /mnt/bar ext3 rw,atime,nosuid 0 0 +/dev/sda2 /mnt/newbar ext3 rw,noatime 0 0 +/dev/sda1 /mnt/gogo ext3 rw,noatime,nosuid 0 0 diff --git a/tests/expected/libmount/update-mtab-umount b/tests/expected/libmount/update-mtab-umount new file mode 100644 index 00000000..be025730 --- /dev/null +++ b/tests/expected/libmount/update-mtab-umount @@ -0,0 +1,2 @@ +/dev/sda1 /mnt/newfoo ext3 ro,noatime 0 0 +/dev/sda2 /mnt/newbar ext3 rw,noatime 0 0 |