test_1() {
if ! check_versions; then
- skip "liblustre version mismatch: cli $CLIVER, mds $MDSVER, ost $OSTVER"
+ skip "liblustre version mismatch: cli $(lustre_version_code client), \
+ mds $(lustre_version_code $SINGLEMDS), ost $(lustre_version_code ost1)"
elif ! [ "$NETTYPE" = "tcp" -o "$NETTYPE" = "ptl" ]; then
skip "NETTYPE=$NETTYPE unsupported for liblustre"
elif [ ! -x $LIBLUSTRETESTS/sanity ]; then
skip "$LIBLUSTRETESTS/sanity: not found"
else
mkdir -p $MOUNT2
+ echo $LIBLUSTRETESTS/sanity --target=$LIBLUSTRE_MOUNT_TARGET
$LIBLUSTRETESTS/sanity --target=$LIBLUSTRE_MOUNT_TARGET
if [ "$LIBLUSTRE_EXCEPT" ]; then
LIBLUSTRE_OPT="$LIBLUSTRE_OPT \
fi
}
run_test 1 "liblustre sanity"
+
+complete $SECONDS
+check_and_cleanup_lustre
+exit_status