mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ecc7b5c0ba
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>
24 lines
996 B
Plaintext
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
|