diff options
author | Martin Schwenke <martin@meltin.net> | 2009-10-01 15:39:09 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2009-10-01 15:39:09 +1000 |
commit | 3edf5532d54e6c911dfc297de4db02962d14badd (patch) | |
tree | 6b75eeda999d29bc0c621fb106adb8ca80b944f0 /ctdb/tests/simple | |
parent | 32286b08ac07205845573e8c00819c5e5d854748 (diff) | |
download | samba-3edf5532d54e6c911dfc297de4db02962d14badd.tar.gz |
Test suite: The ctdb ping test should allow time to go backwards.
Time can actually go backwards during this test if ntpd happens to
adjust it little bit. So we should cope...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 23ae9e9863ea90c6fb3f105403fd098041fa73f4)
Diffstat (limited to 'ctdb/tests/simple')
-rwxr-xr-x | ctdb/tests/simple/09_ctdb_ping.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/simple/09_ctdb_ping.sh b/ctdb/tests/simple/09_ctdb_ping.sh index dcc5edf13a0..6ca50d4a472 100755 --- a/ctdb/tests/simple/09_ctdb_ping.sh +++ b/ctdb/tests/simple/09_ctdb_ping.sh @@ -42,7 +42,7 @@ try_command_on_node -v 0 "$CTDB ping -n 1" sanity_check_output \ 1 \ - '^response from 1 time=[.0-9]+ sec[[:space:]]+\([[:digit:]]+ clients\)$' \ + '^response from 1 time=-?[.0-9]+ sec[[:space:]]+\([[:digit:]]+ clients\)$' \ "$out" try_command_on_node -v 0 "$CTDB shutdown -n 1" |