xfs/019: fix golden output for files created in setgid dir
authorDarrick J. Wong <djwong@kernel.org>
Tue, 19 Apr 2022 17:32:00 +0000 (10:32 -0700)
committerZorro Lang <zlang@kernel.org>
Tue, 26 Apr 2022 18:54:00 +0000 (02:54 +0800)
commitaf8aeeea48d0d876f8f9ecda307b45b655aea6a7
tree8abf41be23219fa08a25bd92fc4e546d963daad6
parent80a82f6926faadc3d44cf07ff22f01943c3471fd
xfs/019: fix golden output for files created in setgid dir

A recent change to xfs/019 exposed a long-standing bug in mkfs where
it would always set the gid of a new child created in a setgid directory
to match the gid parent directory instead of what's in the protofile.

Ignoring the user's directions is not the correct behavior, so update
this test to reflect that.  Also don't erase the $seqres.full file,
because that makes forensic analysis pointlessly difficult.

Cc: Catherine Hoang <catherine.hoang@oracle.com>
Fixes: 7834a740 ("xfs/019: extend protofile test")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Catherine Hoang <catherine.hoang@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/019
tests/xfs/019.out