OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-510-ga21a2f8
Gerrit Code Review
gerrit@openafs.org
Thu, 9 Jan 2020 23:57:57 -0500
The following commit has been merged in the master branch:
commit a21a2f8edb79d6190976e920a9a90d0878411146
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Dec 31 12:04:48 2019 -0600
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>
tests/auth/Makefile.in | 5 ++-
tests/auth/superuser-t.c | 3 +-
tests/common/common.h | 3 ++
tests/common/misc.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++
tests/volser/Makefile.in | 5 ++-
tests/volser/vos-t.c | 9 ++++---
6 files changed, 64 insertions(+), 9 deletions(-)
--
OpenAFS Master Repository