2 PATH=`dirname $0`:`dirname $0`/../utils:$PATH
5 MDS=`ls /proc/fs/lustre/mds | grep -v num_refs | head -n 1`
6 [ -z "$MDS" ] && echo "no MDS available, skipping llog test" && exit 0
8 insmod ../obdclass/llog_test.o || exit 1
9 lctl modules > $TMP/ogdb-`hostname`
10 echo "NOW reload debugging syms.."
15 attach llog_test llt_name llt_uuid
19 # Using ignore_errors will allow lctl to cleanup even if the test fails.
26 rmmod llog_test || RC2=3
27 [ $RC -eq 0 -a "$RC2" ] && RC=$RC2