projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
count-leading-zeros: port to MSC; support types wider than 64 bits
[gnulib.git]
/
tests
/
test-futimens.c
diff --git
a/tests/test-futimens.c
b/tests/test-futimens.c
index
5753c6b
..
adaaa08
100644
(file)
--- a/
tests/test-futimens.c
+++ b/
tests/test-futimens.c
@@
-1,5
+1,5
@@
/* Tests of futimens.
/* Tests of futimens.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009
-2013
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
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
@@
-34,18
+34,8
@@
SIGNATURE_CHECK (futimens, int, (int, struct timespec const[2]));
#include "stat-time.h"
#include "timespec.h"
#include "utimecmp.h"
#include "stat-time.h"
#include "timespec.h"
#include "utimecmp.h"
-
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "ignore-value.h"
+#include "macros.h"
#define BASE "test-futimens.t"
#define BASE "test-futimens.t"
@@
-55,7
+45,7
@@
int
main (void)
{
/* Clean up any trash from prior testsuite runs. */
main (void)
{
/* Clean up any trash from prior testsuite runs. */
-
ASSERT (system ("rm -rf " BASE "*") == 0
);
+
ignore_value (system ("rm -rf " BASE "*")
);
return test_futimens (futimens, true);
}
return test_futimens (futimens, true);
}