diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 034217d9bbcbd11e455cff658b7a32a42161ee7b..980e65392ba27b33496bde2f0950b1c6a740ef0f 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -1636,5 +1636,22 @@ test_43() { #bug 15993 } run_test 43 "remove common EA if it exists" +test_44() { # 16317 + setup + check_mount || return 2 + UUID=$($LCTL get_param llite.${FSNAME}*.uuid | cut -d= -f2) + STATS_FOUND=no + UUIDS=$(do_facet mds "$LCTL get_param mds.${FSNAME}*.exports.*.uuid") + for VAL in $UUIDS; do + NID=$(echo $VAL | cut -d= -f1) + CLUUID=$(echo $VAL | cut -d= -f2) + [ "$UUID" = "$CLUUID" ] && STATS_FOUND=yes && break + done + [ "$STATS_FOUND" = "no" ] && error "stats not found for client" + cleanup + return 0 +} +run_test 44 "mounted client proc entry exists" + equals_msg `basename $0`: test complete [ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG || true