Files
apfstests/tests/xfs/289.out
T
Bill O'Donnell ecc7b5c0ba 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>
2017-04-28 14:52:54 +08:00

24 lines
996 B
Plaintext

QA output created by 289
=== mkfs.xfs ===
=== truncate ===
=== xfs_growfs - unmounted, command should be rejected ===
xfs_growfs: TEST_DIR/tmpdir is not a mounted XFS filesystem
=== xfs_growfs - check relative path, unmounted ===
xfs_growfs: ./tmpdir is not a mounted XFS filesystem
=== xfs_growfs - no path, unmounted ===
xfs_growfs: tmpdir is not a mounted XFS filesystem
=== xfs_growfs - plain file - should be rejected ===
xfs_growfs: TEST_DIR/fsfile is not a mounted XFS filesystem
=== mount ===
=== xfs_growfs - mounted - check absolute path ===
=== xfs_growfs - check relative path ===
=== xfs_growfs - no path ===
=== xfs_growfs - symbolic link ===
=== xfs_growfs - symbolic link using relative path ===
=== xfs_growfs - symbolic link using no path ===
=== xfs_growfs - bind mount ===
=== xfs_growfs - bind mount - relative path ===
=== xfs_growfs - bind mount - no path ===
=== xfs_growfs - plain file - should be rejected ===
xfs_growfs: TEST_DIR/fsfile is not a mounted XFS filesystem