diff options
author | Kaushal M <kaushal@redhat.com> | 2012-12-04 12:44:22 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-12-04 00:18:00 -0800 |
commit | c6bb978f93e7e2974b0c8568af09b72bfbc35987 (patch) | |
tree | 457fdf4ab89c6268e01defb738c10ca28c5a23cc /libglusterfs/src | |
parent | bb5382208696196aead94c011b3f9fa13a04da68 (diff) |
tests: Introduce new test primitive EXPECT_WITHIN
Introduces a new test primitive EXPECT_WITHIN with syntax,
EXPECT_WITHIN <timeout in seconds> <expected output> <command>
which runs the given command every second and compares its output with the
expected output, till the timeout occurs.
Change-Id: I91c6de157e5d33fffafe532ceba84e2a9223356f
BUG: 857330
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.org/4263
Reviewed-by: Anand Avati <avati@redhat.com>
Tested-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions