Whamcloud - gitweb
bz=23673 add "updates" dir to lustre-modules location.
authorVitaly Fertman <Vitaly.Fertman@sun.com>
Tue, 7 Sep 2010 12:46:01 +0000 (16:46 +0400)
committerMikhail Pershin <tappro@sun.com>
Tue, 7 Sep 2010 12:52:08 +0000 (16:52 +0400)
o=grev
i=vitaly

lustre/tests/test-framework.sh

index 1dc5f83..624c23a 100644 (file)
@@ -217,6 +217,7 @@ init_test_env() {
     export RPWD=${RPWD:-$PWD}
     export I_MOUNTED=${I_MOUNTED:-"no"}
     if [ ! -f /lib/modules/$(uname -r)/kernel/fs/lustre/mds.ko -a \
     export RPWD=${RPWD:-$PWD}
     export I_MOUNTED=${I_MOUNTED:-"no"}
     if [ ! -f /lib/modules/$(uname -r)/kernel/fs/lustre/mds.ko -a \
+        ! -f /lib/modules/$(uname -r)/updates/kernel/fs/lustre/mds.ko -a \
         ! -f `dirname $0`/../mds/mds.ko ]; then
         export CLIENTMODSONLY=yes
     fi
         ! -f `dirname $0`/../mds/mds.ko ]; then
         export CLIENTMODSONLY=yes
     fi