X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funistdio%2Ftest-ulc-vsprintf1.c;h=76b85b29f4fadfc4f0b4cd393327cf4d05699d77;hb=a556453c32061f4723bd672695e02581fc662890;hp=1cc2a56359265083ae5d126438aa78bb1ed25fe7;hpb=e220635fc952c63b533873f2af39ec76aed4b4e3;p=gnulib.git diff --git a/tests/unistdio/test-ulc-vsprintf1.c b/tests/unistdio/test-ulc-vsprintf1.c index 1cc2a5635..76b85b29f 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 #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; }