projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test empty domain name with offset pointer in dn_expand-empty
[libc-test]
/
src
/
functional
/
strtol.c
diff --git
a/src/functional/strtol.c
b/src/functional/strtol.c
index
676a2c7
..
6490913
100644
(file)
--- a/
src/functional/strtol.c
+++ b/
src/functional/strtol.c
@@
-12,11
+12,11
@@
#define TEST(r, f, x, m) ( \
errno = 0, msg = #f, ((r) = (f)) == (x) || \
#define TEST(r, f, x, m) ( \
errno = 0, msg = #f, ((r) = (f)) == (x) || \
- (error("%s failed (" m ")\n", #f, r, x), 0) )
+ (
t_
error("%s failed (" m ")\n", #f, r, x), 0) )
#define TEST2(r, f, x, m) ( \
((r) = (f)) == (x) || \
#define TEST2(r, f, x, m) ( \
((r) = (f)) == (x) || \
- (error("%s failed (" m ")\n", msg, r, x), 0) )
+ (
t_
error("%s failed (" m ")\n", msg, r, x), 0) )
int main(void)
{
int main(void)
{
@@
-76,5
+76,5
@@
int main(void)
TEST(l, strtol(s=" 1", &c, 0), 1, "%ld != %ld");
TEST2(i, c-s, 3, "wrong final position %d != %d");
TEST(l, strtol(s=" 1", &c, 0), 1, "%ld != %ld");
TEST2(i, c-s, 3, "wrong final position %d != %d");
- return t
est
_status;
+ return t_status;
}
}