generic: test some mount/umount corner cases
authorEryu Guan <eguan@redhat.com>
Wed, 1 Apr 2015 00:27:33 +0000 (11:27 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 1 Apr 2015 00:27:33 +0000 (11:27 +1100)
commit822390a5f06400f942781f3a37b1b0bee68cba78
treeefc03546f3f86278b4ae54032e4e93e63f0f5497
parentafd025f43685f83b474599b9cb3944db71a15f0b
generic: test some mount/umount corner cases

There're six test cases:
 - mount at a nonexistent mount point
 - mount a free loop device
 - mount with a wrong fs type
 - umount an symlink to device which is not mounted
 - umount a path with too long name
 - lazy umount a symlink

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/067 [new file with mode: 0755]
tests/generic/067.out [new file with mode: 0644]
tests/generic/group