projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-getopt: enhance test
[gnulib.git]
/
tests
/
unistdio
/
test-u32-vasprintf1.c
diff --git
a/tests/unistdio/test-u32-vasprintf1.c
b/tests/unistdio/test-u32-vasprintf1.c
index
25430a3
..
901424c
100644
(file)
--- a/
tests/unistdio/test-u32-vasprintf1.c
+++ b/
tests/unistdio/test-u32-vasprintf1.c
@@
-1,5
+1,5
@@
/* Test of u32_vasprintf() function.
/* Test of u32_vasprintf() function.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2008
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
@@
-32,14
+32,15
@@
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
+ do
\
+ {
\
+ if (!(expr))
\
+ {
\
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- abort (); \
- } \
- } \
+ fflush (stderr); \
+ abort (); \
+ } \
+ } \
while (0)
#include "test-u32-printf1.h"
while (0)
#include "test-u32-printf1.h"