From: scjody Date: Sat, 31 Mar 2007 00:12:36 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: 1.4.10~30 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0d2088eda36c29d091b8f82019e39c4755accead;p=fs%2Flustre-release.git Branch HEAD Use eval when changing debug settings to avoid shell-related failures. b=12081 r=adilger --- diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh index 2aec966..39dcbff 100755 --- a/lustre/tests/acceptance-small.sh +++ b/lustre/tests/acceptance-small.sh @@ -21,8 +21,8 @@ fi [ "$TMP" ] || TMP=/tmp [ "$COUNT" ] || COUNT=1000 [ "$DEBUG_LVL" ] || DEBUG_LVL=0 -[ "$DEBUG_OFF" ] || DEBUG_OFF="sysctl -w lnet.debug=$DEBUG_LVL" -[ "$DEBUG_ON" ] || DEBUG_ON="sysctl -w lnet.debug=0x33f0484" +[ "$DEBUG_OFF" ] || DEBUG_OFF="eval sysctl -w lnet.debug=\"$DEBUG_LVL\"" +[ "$DEBUG_ON" ] || DEBUG_ON="eval sysctl -w lnet.debug=0x33f0484" LIBLUSTRE=${LIBLUSTRE:-../liblustre}