3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"simple ping"
9 0 192.168.20.41 0x0 CURRENT RECMASTER
16 _weekday
="[A-Z][a-z][a-z]"
17 _month
="[A-Z][a-z][a-z]"
19 _time
="[0-9][0-9]:[0-9][0-9]:[0-9][0-9]"
21 _date_time
="${_weekday} ${_month} *${_date} ${_time} ${_year}"
22 _duration
="(000 00:00:[0-9][0-9])"
23 sed -e "s|${_date_time}\$|DATE/TIME|" \
24 -e "s|[.0-9]* seconds|SEC seconds|" \
25 -e "s|${_duration}|(DURATION)|"
30 Current time of node 0 : DATE/TIME
31 Ctdbd start time : (DURATION) DATE/TIME
32 Time of last recovery/failover: (DURATION) DATE/TIME
33 Duration of last recovery/failover: SEC seconds