From e0bbfcc78c1c632fc3ecb1e8afe4716669e5a830 Mon Sep 17 00:00:00 2001 From: grev Date: Wed, 16 Apr 2008 12:13:07 +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 728be10..4a7142f 100755 --- a/lustre/tests/acceptance-small.sh +++ b/lustre/tests/acceptance-small.sh @@ -249,8 +249,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