From ea8623c4c725d9d407a826c4240cd3841d719f17 Mon Sep 17 00:00:00 2001 From: alex <alex> Date: Thu, 22 Jul 2004 15:24:25 +0000 Subject: [PATCH] - PTLDEBUG var to control debug set --- lustre/tests/sanity-lmv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity-lmv.sh b/lustre/tests/sanity-lmv.sh index 38d2a4d905..2eedda1259 100644 --- a/lustre/tests/sanity-lmv.sh +++ b/lustre/tests/sanity-lmv.sh @@ -39,6 +39,7 @@ SOCKETSERVER=${SOCKETSERVER:-socketserver} SOCKETCLIENT=${SOCKETCLIENT:-socketclient} IOPENTEST1=${IOPENTEST1:-iopentest1} IOPENTEST2=${IOPENTEST2:-iopentest2} +PTLDEBUG=${PTLDEBUG:-0} if [ $UID -ne 0 ]; then RUNAS_ID="$UID" @@ -95,7 +96,7 @@ run_one() { if ! mount | grep -q $DIR; then $START fi - echo -1 >/proc/sys/portals/debug + echo $PTLDEBUG >/proc/sys/portals/debug log "== test $1: $2" export TESTNAME=test_$1 test_$1 || error "test_$1: exit with rc=$?" -- GitLab