X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllmountcleanup.sh;h=454ed6eecc801b68a7f2b599a94e6a8968ad7324;hb=d9753b5ba6ad29fd8958a47b462d2fa594ba1145;hp=674be92e8de6b6610d57c3ed8a1ed7792623d437;hpb=94c2ba8fc1b4f13c29231f84d18ac3b7ade2d5ed;p=fs%2Flustre-release.git diff --git a/lustre/tests/llmountcleanup.sh b/lustre/tests/llmountcleanup.sh index 674be92..454ed6e 100755 --- a/lustre/tests/llmountcleanup.sh +++ b/lustre/tests/llmountcleanup.sh @@ -1,76 +1,7 @@ -#!/bin/sh +#!/bin/bash -SRCDIR="`dirname $0`/" -. $SRCDIR/common.sh +LUSTRE=${LUSTRE:-$(dirname $0)/..} +. $LUSTRE/tests/test-framework.sh +init_test_env $@ -TIME=`date +'%s'` - -$DBGCTL debug_kernel /tmp/debug.1.$TIME - -if mount | grep '/mnt/lustre'; then - umount /mnt/lustre || fail "cannot unmount" -fi - -killall acceptor -rmmod llite - -$OBDCTL <