tests: Fix KeyFile test so it works from harness
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 13 Mar 2011 15:47:36 +0000 (15:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 13 Mar 2011 20:40:20 +0000 (13:40 -0700)
commit926755bf222cfaf39a4e4437c468a7a9030fe7a1
tree409149281f10aea9038e70c6cf41ced2398c5442
parentbc16fe0a43deb9309521af42c5db89ebbd87192e
tests: Fix KeyFile test so it works from harness

The auth/keys test tries to find a file that's distributed as part
of the test suite. However, it currently only looks in the CWD to
find it. Modify the test so that if it's run from the test harness,
it will use the harnesses SOURCE environment variable to locate the
KeyFile

Change-Id: I93e16a01eae79b38ab01c81a57d2a47c28479b27
Reviewed-on: http://gerrit.openafs.org/4213
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
tests/auth/keys-t.c