In sanity test 57a,57b and 129 the function facet_type_fstype
is used to determine the file system backend. This function
does not actually exist so this test never run for the
ldiskfs case. The fix is to use the proper function which
is facet_fstype.
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: Ia9766a3a2200c6ce2d48ff0265eb73a4d71c06e7
Reviewed-on: http://review.whamcloud.com/4230
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
test_57a() {
# note test will not do anything if MDS is not local
test_57a() {
# note test will not do anything if MDS is not local
- if [ "$(facet_type_fstype MDS)" != ldiskfs ]; then
+ if [ "$(facet_fstype $SINGLEMDS)" != ldiskfs ]; then
skip "Only applicable to ldiskfs-based MDTs"
return
fi
skip "Only applicable to ldiskfs-based MDTs"
return
fi
run_test 57a "verify MDS filesystem created with large inodes =="
test_57b() {
run_test 57a "verify MDS filesystem created with large inodes =="
test_57b() {
- if [ "$(facet_type_fstype MDS)" != ldiskfs ]; then
+ if [ "$(facet_fstype $SINGLEMDS)" != ldiskfs ]; then
skip "Only applicable to ldiskfs-based MDTs"
return
fi
skip "Only applicable to ldiskfs-based MDTs"
return
fi
- if [ "$(facet_type_fstype MDS)" != ldiskfs ]; then
+ if [ "$(facet_fstype $SINGLEMDS)" != ldiskfs ]; then
skip "Only applicable to ldiskfs-based MDTs"
return
fi
skip "Only applicable to ldiskfs-based MDTs"
return
fi