Branch data Line data Source code
1 : : #include "sute.h"
2 : :
3 : : /**
4 : : *
5 : : * Another simple test case
6 : : *
7 : : */
8 : 1 : Return test0005(void)
9 : : {
10 : 1 : INITTEST;
11 : 1 : const char *stderr_command = "echo Example message to STDERR that should be suppressed 1>&2";
12 : :
13 : : // Example of suppress messages to STDERR
14 : 1 : ASSERT(SUCCESS == external_call(stderr_command,NULL,NULL,COMPLETED,STDERR_SUPPRESS));
15 : :
16 : : // Example of NOT suppressed messages to STDERR
17 : 1 : ASSERT(SUCCESS == external_call(stderr_command,NULL,NULL,COMPLETED,STDERR_ALLOW));
18 : :
19 : 1 : RETURN_STATUS;
20 : : }
|