tests: Abstract out code for a test RPC service
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 26 Jun 2012 20:04:41 +0000 (21:04 +0100)
committerDerrick Brashear <shadow@dementix.org>
Wed, 27 Jun 2012 14:27:42 +0000 (07:27 -0700)
commitc7ff0d28bf68533a74664e4f6a7ac0d946ac2893
tree0d147e1073cc69e28ad6346b1040a38102d7c36c
parent6f9443e702745d1e371eb72ad7fcba5cac47f3db
tests: Abstract out code for a test RPC service

Lots of our tests want to start a test RPC server, and then run
commands against it. Start to abstract out the code to do this
by pulling the code to start a test RPC server into its own
function in the common test directory.

Change-Id: Ie7fa1fa1984113f3722def17a9fd4b98993bd6ff
Reviewed-on: http://gerrit.openafs.org/7584
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
tests/auth/Makefile.in
tests/auth/superuser-t.c
tests/common/common.h
tests/common/servers.c