Add tests for pending call timeouts
authorScott James Remnant <scott@ubuntu.com>
Mon, 11 May 2009 22:29:52 +0000 (23:29 +0100)
committerColin Walters <walters@verbum.org>
Tue, 14 Jul 2009 19:38:42 +0000 (15:38 -0400)
commit0539a23c661f028da63526996b6463ef342bb4f3
treea02a4c05a9dfe230dbdfdc39577ab6e23b7be6e8
parent21b0ff273a69d19e505b71c263725302aa5b025f
Add tests for pending call timeouts

* test/test-service.c (handle_delay_echo, path_message_func): Add a
  variant of the Echo method which sleeps for a short time.
* test/name-test/test-pending-call-timeout.c: Run tests with default,
  specified and infinite timeout to make sure we get the reply.
* test/name-test/run-test.sh: Run the new test
* test/name-test/Makefile.am: Build the new test

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
(cherry picked from commit c1f165261afcc3bafa9b24ff916bb231628e3782)
test/name-test/.gitignore
test/name-test/Makefile.am
test/name-test/run-test.sh
test/name-test/test-pending-call-timeout.c [new file with mode: 0644]
test/test-service.c