Whamcloud - gitweb
b=22934 conf_sanity writeconf method is never tested
authorElena Gryaznova <grev@sun.com>
Thu, 16 Sep 2010 18:40:22 +0000 (22:40 +0400)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Thu, 16 Sep 2010 18:46:49 +0000 (22:46 +0400)
i=Andrew.Perepechko

use the correct mds dev

lustre/tests/conf-sanity.sh

index 309ea5b..da9eec8 100644 (file)
@@ -68,7 +68,7 @@ writeconf() {
        # we need ldiskfs
        load_modules
        # if writeconf fails anywhere, we reformat everything
-       writeconf1 mds `mdsdevname 1` || return 0
+       writeconf1 mds $MDSDEV || return 0
        writeconf1 ost1 `ostdevname 1` || return 0
        writeconf1 ost2 `ostdevname 2` || return 0
 }