From: shaver Date: Fri, 22 Aug 2003 16:28:59 +0000 (+0000) Subject: Add /proc/fs/lustre/pinger (contents "on" or "off") so that tests which require X-Git-Tag: v1_7_0_51~2^7~640 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=623069560b27938f6e7cf1c4e10d0117444f285d;p=fs%2Flustre-release.git Add /proc/fs/lustre/pinger (contents "on" or "off") so that tests which require the pinger be present can check and error. --- diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index e0742f3..c635450 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -151,6 +151,13 @@ build_test_filter gen_config start mds --reformat +PINGER=`cat /proc/fs/lustre/pinger` + +if [ "$PINGER" != "on" ]; then + echo "ERROR: Lustre must be built with --enable-pinger for replay-dual" + stop mds +fi + start ost --reformat start client1 start client2