* lib/xalloc.h (DEFAULT_MXFAST): Track 64-bit glibc.
[gnulib.git] / tests / test-unlinkat.c
index f9ed249..30af671 100644 (file)
@@ -30,6 +30,7 @@ SIGNATURE_CHECK (unlinkat, int, (int, char const *, int));
 #include <stdlib.h>
 #include <sys/stat.h>
 
+#include "progname.h"
 #include "unlinkdir.h"
 #include "ignore-value.h"
 #include "macros.h"
@@ -56,12 +57,14 @@ unlinker (char const *name)
 }
 
 int
-main (void)
+main (int argc _GL_UNUSED, char *argv[])
 {
   /* FIXME: Add tests of fd other than ".".  */
   int result1;
   int result2;
 
+  set_program_name (argv[0]);
+
   /* Remove any leftovers from a previous partial run.  */
   ignore_value (system ("rm -rf " BASE "*"));