Whamcloud - gitweb
b=15526
authorgrev <grev>
Wed, 16 Apr 2008 12:13:07 +0000 (12:13 +0000)
committergrev <grev>
Wed, 16 Apr 2008 12:13:07 +0000 (12:13 +0000)
i=Adilger
allow both "cfs" and "sun" e2fsck

lustre/tests/acceptance-small.sh

index 728be10..4a7142f 100755 (executable)
@@ -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"