projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new test system
[libc-test]
/
src
/
functional
/
spawn.c
diff --git
a/src/functional/spawn.c
b/src/functional/spawn.c
index
707b1a5
..
4ce9772
100644
(file)
--- a/
src/functional/spawn.c
+++ b/
src/functional/spawn.c
@@
-12,11
+12,11
@@
#define TEST(f, x) (void)( \
(r = (f)) == (x) || \
#define TEST(f, x) (void)( \
(r = (f)) == (x) || \
- error("%s failed, got %d want %d\n", #f, r, x) )
+
t_
error("%s failed, got %d want %d\n", #f, r, x) )
#define TEST_E(f) (void)( \
(errno = 0), (f) || \
#define TEST_E(f) (void)( \
(errno = 0), (f) || \
- error("%s failed (errno = %d \"%s\")\n", #f, errno, strerror(errno)) )
+
t_
error("%s failed (errno = %d \"%s\")\n", #f, errno, strerror(errno)) )
int main(void)
{
int main(void)
{
@@
-38,5
+38,5
@@
int main(void)
TEST(read(p[0], foo, sizeof foo), 6);
close(p[0]);
TEST(posix_spawn_file_actions_destroy(&fa), 0);
TEST(read(p[0], foo, sizeof foo), 6);
close(p[0]);
TEST(posix_spawn_file_actions_destroy(&fa), 0);
- return t
est
_status;
+ return t_status;
}
}