#include <stdio.h>
#include <unistd.h>
+#include "progname.h"
#include "macros.h"
#define BASE "test-openat.t"
}
int
-main (void)
+main (int argc _GL_UNUSED, char *argv[])
{
int result;
+ set_program_name (argv[0]);
+
/* Basic checks. */
result = test_open (do_open, false);
dfd = open (".", O_RDONLY);