From 79745787a1b5dbab5bcea4fce31f6dea08d55a4f Mon Sep 17 00:00:00 2001 From: bobijam Date: Fri, 26 Jun 2009 01:07:52 +0000 Subject: [PATCH] Branch HEAD b=16317 i=adilger add conf-sanity test_44. --- lustre/tests/conf-sanity.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- 1.8.3.1