From: bobijam Date: Fri, 26 Jun 2009 01:07:52 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_220~93 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=79745787a1b5dbab5bcea4fce31f6dea08d55a4f Branch HEAD b=16317 i=adilger add conf-sanity test_44. --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 19528e7..4e35d507 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -1561,6 +1561,23 @@ run_test 43 "check root_squash and nosquash_nids" umount_client $MOUNT cleanup_nocli +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 mdt.${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" + test_45() { #17310 setup check_mount || return 2