]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test mkfs.xfs whether terminate getsubopt arrays properly
authorYang Xu <xuyang2018.jy@fujitsu.com>
Fri, 22 Jul 2022 03:43:04 +0000 (11:43 +0800)
committerZorro Lang <zlang@kernel.org>
Sun, 31 Jul 2022 14:06:05 +0000 (22:06 +0800)
commitb7962b76ec246aa786c84375682d6298aeda65c3
treeb6d127868ba444f654a25d54501abbb4cb320baa
parentb994a3bc4395a4ae485cb3fb9e4e78d1c4a60271
xfs: test mkfs.xfs whether terminate getsubopt arrays properly

When I run xfs/144 manually, the step as below:
mkfs.xfs -f -d agcount=3200,size=6366g -d file,n

I accidentally pressed the Enter key, it triggers Segmentation fault.
Then I found Darrick has fixed this one week ago. So add this test.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/549 [new file with mode: 0755]
tests/xfs/549.out [new file with mode: 0644]