2 PATH=`dirname $0`:`dirname $0`/../utils:$PATH
6 TARGET=`ls /proc/fs/lustre/$OBD | grep -v num_refs | head -n 1`
7 [ -z "$TARGET" ] && echo "no TARGET available, skipping quotactl test" && exit 0
9 insmod ../lvfs/quotactl_test.ko || exit 1
10 lctl modules > $TMP/ogdb-`hostname`
11 echo "NOW reload debugging syms.."
16 attach quotactl_test qctl_name qctl_uuid
20 # Using ignore_errors will allow lctl to cleanup even if the test fails.
27 rmmod quotactl_test || RC2=3
28 [ $RC -eq 0 -a "$RC2" ] && RC=$RC2