Whamcloud - gitweb
Fix statfs for new ptlrpc interface in head.
[fs/lustre-release.git] / lustre / tests / mdcreqcleanup.sh
index 5fbc70a..3cacfbd 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/sh
 
-SRCDIR="`dirname $0`"
+SRCDIR="`dirname $0`/"
 . $SRCDIR/common.sh
 
-rmmod llight
+rmmod llite
 rmmod mdc
 
-$R/usr/src/obd/utils/obdctl <<EOF
+$OBDCTL <<EOF
 device 0
 cleanup
 detach
@@ -20,7 +20,7 @@ rmmod obdext2
 rmmod obdclass
 rmmod ptlrpc
 
-$R/usr/src/portals/linux/utils/ptlctl <<EOF
+$PTLCTL <<EOF
 setup tcp
 disconnect localhost
 del_uuid self