-/* Test that openat_safer leave standard fds alone.
- Copyright (C) 2009 Free Software Foundation, Inc.
+/* Test that posixtime works as required.
+ Copyright (C) 2009, 2010 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 <time.h>
#include "intprops.h"
-
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
struct posixtm_test
{
};
int
-main (int argc, char **argv)
+main (void)
{
unsigned int i;
int fail = 0;