From 623069560b27938f6e7cf1c4e10d0117444f285d Mon Sep 17 00:00:00 2001 From: shaver Date: Fri, 22 Aug 2003 16:28:59 +0000 Subject: [PATCH] Add /proc/fs/lustre/pinger (contents "on" or "off") so that tests which require the pinger be present can check and error. --- lustre/tests/replay-dual.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 1.8.3.1