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:
Tim Shimmin
2004-08-10 05:43:44 +00:00
parent 4c56e56f91
commit 3ee5349e21
4 changed files with 147 additions and 6 deletions
+13 -5
View File
@@ -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
}