From 0d2088eda36c29d091b8f82019e39c4755accead Mon Sep 17 00:00:00 2001 From: scjody <scjody> Date: Sat, 31 Mar 2007 00:12:36 +0000 Subject: [PATCH] Branch HEAD Use eval when changing debug settings to avoid shell-related failures. b=12081 r=adilger --- lustre/tests/acceptance-small.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh index 2aec96626d..39dcbff698 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} -- GitLab