From 9e4a18b03990bd7c2e8d6f5484715b18d6554303 Mon Sep 17 00:00:00 2001 From: grev Date: Wed, 16 Apr 2008 13:20:26 +0000 Subject: [PATCH] b=15526 i=Adilger allow both "cfs" and "sun" e2fsck --- lustre/tests/acceptance-small.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh index bb9da5a..6bdadc0 100755 --- a/lustre/tests/acceptance-small.sh +++ b/lustre/tests/acceptance-small.sh @@ -250,8 +250,9 @@ for NAME in $CONFIGS; do E2VER=`e2fsck -V 2>&1 | head -n 1 | cut -d' ' -f 2` if grep -q obdfilter /proc/fs/lustre/devices; then if [ `echo $E2VER | cut -d. -f2` -ge 39 ] && \ - [ "`echo $E2VER | grep cfs`" ]; then - bash lfscktest.sh + [ "`echo $E2VER | grep cfs`" -o \ + "`echo $E2VER | grep sun`" ]; then + bash lfscktest.sh else e2fsck -V echo "e2fsck does not support lfsck, skipping" -- 1.8.3.1