mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 20:51:11 +00:00
20 lines
493 B
C
20 lines
493 B
C
|
/* This file contains an example test case which shows minimal use of
|
||
|
the test framework. Additional testing hooks are described in
|
||
|
<support/test-driver.c>. */
|
||
|
|
||
|
/* This function will be called from the test driver. */
|
||
|
static int
|
||
|
do_test (void)
|
||
|
{
|
||
|
if (3 == 5)
|
||
|
/* Indicate failure. */
|
||
|
return 1;
|
||
|
else
|
||
|
/* Indicate success. */
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
/* This file references do_test above and contains the definition of
|
||
|
the main function. */
|
||
|
#include <support/test-driver.c>
|