Whamcloud - gitweb
Branch b1_6
authornathan <nathan>
Wed, 16 May 2007 20:27:13 +0000 (20:27 +0000)
committernathan <nathan>
Wed, 16 May 2007 20:27:13 +0000 (20:27 +0000)
b=12465
i=adilger
skip test 76 if no deathrow/iget

lustre/tests/sanity.sh

index e1aec5c..0d71a90 100644 (file)
@@ -2982,6 +2982,8 @@ num_inodes() {
 }
 
 test_76() { # bug 1443
+       DETH=$(grep deathrow /proc/kallsyms /proc/ksyms 2> /dev/null | wc -l)
+       [ $DETH -eq 0 ] && echo "No _iget, skipping" && return 0
        BEFORE_INODES=`num_inodes`
        echo "before inodes: $BEFORE_INODES"
        for i in `seq 1000`; do