openafs/tests/common
Andrew Deason a21a2f8edb tests: Introduce afstest_GetProgname
Currently, in tests/volser/vos-t.c we call afs_com_err as
"authname-t", which is clearly a mistake during some code refactoring
(introduced in commit 2ce3fdc5, "tests: Abstract out code to produce a
Ubik client").

We could just change this to "vos-t", but instead of specifying
constant strings everywhere, change this to figure out what the
current command is called, and just use that. Put this code into a new
function, afstest_GetProgname, and convert existing tests to use that
instead of hard-coding the program name given to afs_com_err.

Change-Id: I3ed02c89f93798568783c7d717e8fb2e39dcce14
Reviewed-on: https://gerrit.openafs.org/13991
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
2020-01-09 23:56:27 -05:00
..
common.h tests: Introduce afstest_GetProgname 2020-01-09 23:56:27 -05:00
config.c tests: Improve afstest_UnlinkTestConfig cleanup 2013-05-28 15:57:31 -07:00
Makefile.in tests: Fix most tests for objdir builds 2019-12-13 00:03:21 -05:00
misc.c tests: Introduce afstest_GetProgname 2020-01-09 23:56:27 -05:00
network.c tests: Improve failure mode for unresolvable hostname 2013-02-17 20:51:15 -08:00
rxkad.c tests: Move token faking code to its own file 2012-04-22 06:18:19 -07:00
servers.c tests: Check if vlserver died during startup 2019-12-20 20:43:34 -05:00
ubik.c tests: Abstract out code to produce a Ubik client 2012-04-22 06:17:17 -07:00