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 quotacheck test" && exit 0
9 insmod ../lvfs/quotacheck_test.ko || exit 1
10 lctl modules > $TMP/ogdb-`hostname`
11 echo "NOW reload debugging syms.."
16 attach quotacheck_test qchk_name qchk_uuid
20 # Using ignore_errors will allow lctl to cleanup even if the test fails.
27 rmmod quotacheck_test || RC2=3
28 [ $RC -eq 0 -a "$RC2" ] && RC=$RC2