tests: avoid passing NULL strings to vprintf 77/12377/3
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 22 Aug 2016 23:53:34 +0000 (19:53 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Sun, 25 Sep 2016 22:45:44 +0000 (18:45 -0400)
commit2fe3a28c6ec0ff9d19ddec5500b3a5e69b483210
treeeb7f9d92aff33ef9b5f65062c558b8bcca9c17bd
parent4e0bc086d6d09db66b3dd26d221ff712ff351386
tests: avoid passing NULL strings to vprintf

Some libc implementations will crash when NULL string arguments are given to
*printf.  Avoid passing NULL string arguments in the make check tests that did
so, and pass the string "(null)" instead.

Change-Id: I65f11a3eef88d1c7b210c867ae0c40018160f55a
Reviewed-on: https://gerrit.openafs.org/12377
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
tests/util/exec-alt-t.c