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

lustre/tests/acceptance-small.sh

index bb9da5a..6bdadc0 100755 (executable)
@@ -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"