diff options
author | Bruno Haible <bruno@clisp.org> | 2009-01-20 00:14:31 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-01-20 00:14:31 +0100 |
commit | fe7f458428a6f0febc18455ea08736b02f45f1d0 (patch) | |
tree | d8c822d42a464b1f06a27f9076eb846ca42244c4 /tests/unistdio/test-ulc-vsprintf1.c | |
parent | 13a620eb128306ec69602f695d3f874cfeec25a7 (diff) | |
download | gnulib-fe7f458428a6f0febc18455ea08736b02f45f1d0.tar.gz |
Use module 'progname' in some more tests.
Diffstat (limited to 'tests/unistdio/test-ulc-vsprintf1.c')
-rw-r--r-- | tests/unistdio/test-ulc-vsprintf1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unistdio/test-ulc-vsprintf1.c b/tests/unistdio/test-ulc-vsprintf1.c index 1cc2a56359..76b85b29f4 100644 --- a/tests/unistdio/test-ulc-vsprintf1.c +++ b/tests/unistdio/test-ulc-vsprintf1.c @@ -1,5 +1,5 @@ /* Test of ulc_vsprintf() function. - Copyright (C) 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2007-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ #include <string.h> #include "xalloc.h" +#include "progname.h" #define SIZEOF(array) (sizeof (array) / sizeof (array[0])) #define ASSERT(expr) \ @@ -68,6 +69,9 @@ test_vsprintf () int main (int argc, char *argv[]) { + set_program_name (argv[0]); + test_vsprintf (); + return 0; } |