/* Test of quotearg family of functions.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008-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
#include <stdlib.h>
#include <string.h>
+#include "progname.h"
+
#if ENABLE_NLS
/* On Linux, gettext is optionally defined as a forwarding macro,
which would cause syntax errors in our definition below. But on
#endif /* ENABLE_NLS */
int
-main ()
+main (int argc, char *argv[])
{
int i;
+ set_program_name (argv[0]);
+
/* This program is hard-wired to the C locale since it does not call
setlocale. */
ASSERT (!isprint ('\033'));