projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-xalloc-die: avoid spurious failure due to libtool argv difference
[gnulib.git]
/
tests
/
test-xalloc-die.c
diff --git
a/tests/test-xalloc-die.c
b/tests/test-xalloc-die.c
index
88461e8
..
4a03a0b
100644
(file)
--- a/
tests/test-xalloc-die.c
+++ b/
tests/test-xalloc-die.c
@@
-19,12
+19,12
@@
#include <config.h>
#include "xalloc.h"
-
-char *program_name = "test-xalloc-die";
+#include "progname.h"
int
-main (
void
)
+main (
int argc, char **argv
)
{
+ set_program_name (argv[0]);
xalloc_die ();
return 0;
}