[testsuite] Unbuffer the output in gdb.base/multi-forks.c
authorYao Qi <yao.qi@linaro.org>
Thu, 21 Jan 2016 17:28:06 +0000 (17:28 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 22 Jan 2016 09:02:11 +0000 (09:02 +0000)
commit1ac78c044471fa65b952c2e5c47dcf4d0ccf9b79
tree49e957ef404d1c598a231907c72be5ea26bd3733
parentd86feca31bd9b814fd5317a0ebdbe86fb812a1bd
[testsuite] Unbuffer the output in gdb.base/multi-forks.c

This patch unbuffer the output of the program so that the test harness
can count the number of "done" from output correctly.

gdb/testsuite:

2016-01-22  Yao Qi  <yao.qi@linaro.org>

PR testsuite/19491
* gdb.base/multi-forks.c: Include
../lib/unbuffer_output.c
(main): Call gdb_unbuffer_output.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/multi-forks.c