From 4955675ac57405b08f1e07ab9629d3e539bd9efa Mon Sep 17 00:00:00 2001 From: huanghua Date: Thu, 28 Sep 2006 10:55:48 +0000 Subject: [PATCH] small fix for string array augument --- lustre/tests/sanity.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index efd57a3..43104b4 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2166,6 +2166,7 @@ test_52b() { run_test 52b "immutable flag test (should return errors) =======" test_53() { + # only test MDT0000 for i in `ls -d $LPROC/osc/*-osc-MDT0000 2> /dev/null` ; do ostname=`basename $i | cut -d - -f 1-2` ost_last=`cat $LPROC/obdfilter/$ostname/last_id` @@ -2460,13 +2461,13 @@ test_63b() { sysctl -w lustre.fail_loc=0x80000406 multiop $DIR/$tfile Owy && \ $LCTL dk /tmp/test63b.debug && \ - sysctl -w lnet.debug=$DBG_SAVE && \ + sysctl -w lnet.debug="$DBG_SAVE" && \ error "sync didn't return ENOMEM" grep -q locked $LPROC/llite/*/dump_page_cache && \ $LCTL dk /tmp/test63b.debug && \ - sysctl -w lnet.debug=$DBG_SAVE && \ + sysctl -w lnet.debug="$DBG_SAVE" && \ error "locked page left in cache after async error" || true - sysctl -w lnet.debug=$DBG_SAVE + sysctl -w lnet.debug="$DBG_SAVE" } run_test 63b "async write errors should be returned to fsync ===" -- 1.8.3.1