Whamcloud - gitweb
b=12499
authorgrev <grev>
Thu, 31 Jan 2008 02:03:25 +0000 (02:03 +0000)
committergrev <grev>
Thu, 31 Jan 2008 02:03:25 +0000 (02:03 +0000)
run sysctl properly (found by Huang Hua)

lustre/tests/sanity.sh

index a85c568..57e40c5 100644 (file)
@@ -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