X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fllmountcleanup.sh;h=454ed6eecc801b68a7f2b599a94e6a8968ad7324;hp=6f52eda6c0331576c334ead0c76f4b826ca00156;hb=980f8741339f2bece106f6955b0b076d35211850;hpb=7f2cd5eb6310685a215a68b9defb43fbb384503f diff --git a/lustre/tests/llmountcleanup.sh b/lustre/tests/llmountcleanup.sh index 6f52eda..454ed6e 100755 --- a/lustre/tests/llmountcleanup.sh +++ b/lustre/tests/llmountcleanup.sh @@ -1,51 +1,7 @@ -#!/bin/sh +#!/bin/bash -SRCDIR="`dirname $0`" -. $SRCDIR/common.sh +LUSTRE=${LUSTRE:-$(dirname $0)/..} +. $LUSTRE/tests/test-framework.sh +init_test_env $@ -umount /mnt/obd - -rmmod llight -rmmod mdc - -$OBDCTL <