Add tests for pending call timeouts
authorScott James Remnant <scott@ubuntu.com>
Mon, 11 May 2009 22:29:52 +0000 (23:29 +0100)
committerScott James Remnant <scott@ubuntu.com>
Thu, 28 May 2009 09:47:38 +0000 (11:47 +0200)
commitc1f165261afcc3bafa9b24ff916bb231628e3782
tree36ca4ba1c052da63c037789db5fc977f7f784fba
parentbd2063e17e1bb57dee1a5dfed76c9dde76d55ff3
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>
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