-/* Test that openat_safer leave standard fds alone.
+/* Test that posixtime works as required.
Copyright (C) 2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
#include "intprops.h"
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
+ do \
+ { \
+ if (!(expr)) \
+ { \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
+ fflush (stderr); \
+ abort (); \
+ } \
+ } \
while (0)
struct posixtm_test
};
int
-main (int argc, char **argv)
+main (void)
{
unsigned int i;
int fail = 0;