Test case: usr.bin/indent/functional_test:elsecomment
- Test program: /usr/tests/usr.bin/indent/functional_test
- Result: failed: atf-check failed; see the output of the test for details
- Start time: 2018-05-25T20:03:33.965984Z
- End time: 2018-05-25T20:03:33.977900Z
- Duration: 0.012s
- Execution context
Metadata
- allowed_architectures =
- allowed_platforms =
- description =
- has_cleanup = false
- is_exclusive = false
- required_configs =
- required_disk_space = 0
- required_files =
- required_memory = 0
- required_programs =
- required_user =
- timeout = 300
Standard output
Executing command [ cp /usr/tests/usr.bin/indent/elsecomment.0 /usr/tests/usr.bin/indent/elsecomment.0.pro /usr/tests/usr.bin/indent/elsecomment.0.stdout . ]
Executing command [ sed -e /\$FreeBSD.*\$/d elsecomment.0.stdout ]
Executing command [ /usr/bin/indent -Pelsecomment.0.pro ]
Standard error
Fail: stdout does not match golden output
--- output_file.parsed 2018-05-25 20:03:33.974940000 +0000
+++ /tmp/kyua.JMmJD6/2126/work/check.8tsDaK/stdout 2018-05-25 20:03:33.977021000 +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: elsecomment.0, elsecomment.0.pro, elsecomment.0.stdout, input_file.parsed, output_file.parsed