1 /* vi: set sw=4 ts=4: */
3 * Test application for functions defined in ctype.h
5 * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
6 * Copyright (C) 2000,2001 by Erik Andersen <andersen@uclibc.org>
7 * Written by Erik Andersen <andersen@uclibc.org>
9 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
16 #include "../testsuite.h"
20 void aborthandler(int junk)
25 int main( int argc, char **argv)
27 signal(SIGABRT, aborthandler);
29 init_testsuite("Testing functions defined in assert.h:\n\t");
33 TEST_NUMERIC(got_abort, 0);
37 printf("Don't worry -- This next test is supposed to print an assert message:\n");
38 fprintf(stderr, "\t");
40 TEST_NUMERIC(got_abort, 0);
45 TEST_NUMERIC(got_abort, 1);