```
$ sudo make hier
...
$ cd usr.bin/indent/tests
$ make -s obj; make -s all; sudo make -s install
...
$ make check
functional_test:comments -> passed [0.040s034s]
functional_test:declarations -> passed [0.026s033s]
functional_test:elsecomment -> failed: Test case body returned a non-ok exit code,atf-check failed; but this is not allowedsee the output of the test for details [0.028s39s]
functional_test:float -> passed [0.026s031s]
functional_test:label -> failed: Test case body returned a non-ok exit code,atf-check failed; but this is not allowedsee the output of the test for details [0.027s36s]
functional_test:list_head -> passed [0.024s029s]
functional_test:nsac -> passed [0.027s031s]
functional_test:offsetof -> passed [0.025s034s]
functional_test:sac -> failed: Test case body returned a non-ok exit code,atf-check failed; but this is not allowedsee the output of the test for details [0.029s35s]
functional_test:struct -> passed [0.026s033s]
functional_test:surplusbad -> passed [0.027s033s]
functional_test:types_from_file -> failed: Test case body returned a non-ok exit code,atf-check failed; but this is not allowedsee the output of the test for details [0.026s34s]
functional_test:wchar -> passed [0.026s035s]
Results file id is usr_tests_usr.bin_indent.20170220-021025-0376728-045539-870039
Results saved to /home/ngie/.kyua/store/results.usr_tests_usr.bin_indent.20170220-021025-0376728-045539-870039.db
9/13 passed (4 failed)
*** Error code 1
Stop.
make: stopped in /usr/src/svn/usr.bin/indent/tests
$ kyua debug -k /usr/tests/usr.bin/indent/Kyuafile functional_test:elsecomment
Executing command [ sed -e /\$FreeBSD.*\$/d /usr/tests/usr.bin/indent/elsecomment.0.stdout ]
Executing command [ /usr/bin/indent ]
Fail: stdout does not match golden output
--- output_file.parsed 2017-02-28 04:56:05.959888000 +0000
+++ /tmp/kyua.gYlegH/2/work/check.dtCn0Q/stdout 2017-02-28 04:56:05.965701000 +0000
@@ -2,8 +2,7 @@
void
t(void)
{
- if (0)
- {
+ if (0) {
} /* Old indent would remove the following
* blank line */
@@ -12,8 +11,7 @@
* test
*/
- if (1)
- ;
+ if (1);
else /* Old indent would get very confused here */
{
Files left in work directory after failure: input_file.parsed, output_file.parsed
functional_test:elsecomment -> failed: atf-check failed; see the output of the test for details
```