autoupdate
[gnulib.git] / tests / uniname / test-uninames.c
index 492e786..1408434 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character name functions.
-   Copyright (C) 2000-2003, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2000-2003, 2005, 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
@@ -22,6 +22,7 @@
 
 #include "xalloc.h"
 #include "uniname.h"
+#include "progname.h"
 
 /* The names according to the UnicodeData.txt file, modified to contain the
    Hangul syllable names, as described in the Unicode 3.0 book.  */
@@ -249,6 +250,8 @@ main (int argc, char *argv[])
 {
   int error = 0;
 
+  set_program_name (argv[0]);
+
   fill_names (argv[1]);
 
   error |= test_name_lookup ();