projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor common macros used in tests.
[gnulib.git]
/
tests
/
test-idpriv-drop.c
diff --git
a/tests/test-idpriv-drop.c
b/tests/test-idpriv-drop.c
index
5dbc8e2
..
7157ef3
100644
(file)
--- a/
tests/test-idpriv-drop.c
+++ b/
tests/test-idpriv-drop.c
@@
-24,17
+24,7
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
static void
show_uids ()
static void
show_uids ()