summaryrefslogtreecommitdiff
path: root/test/testsleep.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2004-05-14 14:43:22 +0000
committerRyan Bloom <rbb@apache.org>2004-05-14 14:43:22 +0000
commitb8c498a2f535207e18f9dc0928997c0f170b3986 (patch)
tree37a7667ab997537e737213188d1a584be9b15c97 /test/testsleep.c
parentd2589d6ebf8ce78b98593f8bedbb96602fbe137b (diff)
downloadapr-b8c498a2f535207e18f9dc0928997c0f170b3986.tar.gz
Add the line number to the verbose output from abts. This also removes
a test that is segfaulting in testshm. That will need to be fixed. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsleep.c')
-rw-r--r--test/testsleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsleep.c b/test/testsleep.c
index c8f895298..d933cdf73 100644
--- a/test/testsleep.c
+++ b/test/testsleep.c
@@ -38,8 +38,8 @@ static void sleep_one(abts_case *tc, void *data)
* we should just subtract that out.
*/
timediff = posttime - pretime - SLEEP_INTERVAL;
- abts_true(tc, timediff >= 0);
- abts_true(tc, timediff <= 1);
+ ABTS_TRUE(tc, timediff >= 0);
+ ABTS_TRUE(tc, timediff <= 1);
}
abts_suite *testsleep(abts_suite *suite)