mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
a21a2f8edb
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>
26 lines
648 B
Makefile
26 lines
648 B
Makefile
|
|
srcdir=@srcdir@
|
|
abs_top_builddir=@abs_top_builddir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
include @TOP_OBJDIR@/src/config/Makefile.pthread
|
|
|
|
TESTS = vos-t
|
|
|
|
MODULE_CFLAGS=-I$(TOP_OBJDIR) -I$(srcdir)/../common/
|
|
|
|
all check test tests: $(TESTS)
|
|
|
|
MODULE_LIBS = ../tap/libtap.a \
|
|
$(abs_top_builddir)/src/vlserver/liboafs_vldb.la \
|
|
$(XLIBS)
|
|
|
|
vos-t: vos-t.o ../common/config.o ../common/servers.o ../common/ubik.o \
|
|
../common/network.o ../common/misc.o
|
|
$(LT_LDRULE_static) vos-t.o ../common/config.o ../common/servers.o \
|
|
../common/ubik.o ../common/network.o ../common/misc.o \
|
|
$(MODULE_LIBS)
|
|
|
|
clean:
|
|
$(LT_CLEAN)
|
|
rm -f *.o $(TESTS)
|