doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / tests / test-spawn-pipe-main.c
index 0fa145a..33553b9 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of create_pipe_bidi/wait_subprocess.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 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
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software Foundation,
-   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
 
 #include "spawn-pipe.h"
 #include "wait-process.h"
+#include "progname.h"
 
 #include <stdbool.h>
 #include <stdio.h>
@@ -80,6 +80,8 @@ main (int argc, char *argv[])
   int test;
   int fd;
 
+  set_program_name (argv[0]);
+
   if (argc != 3)
     {
       fprintf (stderr, "%s: need 2 arguments\n", argv[0]);