xfs: xfs_growfs target path must be an active xfs mountpoint
authorBill O'Donnell <billodo@redhat.com>
Thu, 27 Apr 2017 18:31:10 +0000 (13:31 -0500)
committerEryu Guan <eguan@redhat.com>
Fri, 28 Apr 2017 06:52:54 +0000 (14:52 +0800)
commitecc7b5c0bafa3403c7f9a5df16d5a94226d9eed0
tree6e40016c62ab653ae23ca07faac40c6dc8cd46e6
parentbba1b1b2b9370ba6b4aa690a5d53c57bee158324
xfs: xfs_growfs target path must be an active xfs mountpoint

xfs_growfs manpage clearly states that the target path must be an
active xfs mountpoint. This is a test to ensure that if the target
path isn't an active xfs mountpoint, the command is rejected. The
purpose is to check the command response, but not necessarily the
functionality of xfs_growfs. Test cases include absolute paths,
relative paths, symbolic links, and bind mounts.

Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/289 [new file with mode: 0755]
tests/xfs/289.out [new file with mode: 0644]
tests/xfs/group