mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
add test 093 for testing removal of cap EA on file writes when
process doesn't have FSETID and SETFCAP capabilities. This is an IRIX only test. This will check that pv#901019 changes are not stuffing up what the code was supposed to do. removal of file caps on write test - pv#901019
This commit is contained in:
@@ -837,11 +837,19 @@ _full_fstyp_details()
|
||||
{
|
||||
[ -z "$FSTYP" ] && FSTYP=xfs
|
||||
if [ $FSTYP = xfs ]; then
|
||||
if grep 'debug 0' /proc/fs/xfs/stat >/dev/null; then
|
||||
FSTYP="$FSTYP (non-debug)"
|
||||
elif grep 'debug 1' /proc/fs/xfs/stat >/dev/null; then
|
||||
FSTYP="$FSTYP (debug)"
|
||||
fi
|
||||
if [ -d /proc/fs/xfs ]; then
|
||||
if grep -q 'debug 0' /proc/fs/xfs/stat; then
|
||||
FSTYP="$FSTYP (non-debug)"
|
||||
elif grep -q 'debug 1' /proc/fs/xfs/stat; then
|
||||
FSTYP="$FSTYP (debug)"
|
||||
fi
|
||||
else
|
||||
if uname -a | grep -qi 'debug'; then
|
||||
FSTYP="$FSTYP (debug)"
|
||||
else
|
||||
FSTYP="$FSTYP (non-debug)"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo $FSTYP
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user