]> git.ipfire.org Git - thirdparty/glibc.git/blob - support/README-testing.c
Add xchdir to libsupport.
[thirdparty/glibc.git] / support / README-testing.c
1 /* This file contains an example test case which shows minimal use of
2 the test framework. Additional testing hooks are described in
3 <support/test-driver.c>. */
4
5 /* This function will be called from the test driver. */
6 static int
7 do_test (void)
8 {
9 if (3 == 5)
10 /* Indicate failure. */
11 return 1;
12 else
13 /* Indicate success. */
14 return 0;
15 }
16
17 /* This file references do_test above and contains the definition of
18 the main function. */
19 #include <support/test-driver.c>