From: grev Date: Thu, 31 Jan 2008 02:03:25 +0000 (+0000) Subject: b=12499 X-Git-Tag: v1_8_0_110~802 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=3d3ae7ec38418b3026c86a667271af3fce3443ca;p=fs%2Flustre-release.git b=12499 run sysctl properly (found by Huang Hua) --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a85c568..57e40c5 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -144,7 +144,7 @@ echo # add a newline after mke2fs. umask 077 -OLDDEBUG="`sysctl lnet.debug 2> /dev/null`" +OLDDEBUG="`sysctl -n lnet.debug 2> /dev/null`" sysctl -w lnet.debug=-1 2> /dev/null || true test_0() { touch $DIR/$tfile