summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-01-13 11:23:18 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-01-13 11:23:18 +0100
commit2f9a659926f5d91683f740bd527c4e9fe1cdda5c (patch)
tree8f215bbf8880f8816c6e75a0ca4408040c5febbd /lib/command.c
parentdc54fc536021adb2d5b4ec37e4c88c517779b4f1 (diff)
tests: ignore stderr for expect
expect redirects both stdout and stderr to its input. This causes serious problems when libzebra prints log messages to stderr, which are then asynchronously inserted in the middle of lines of stdout test output. Ultimately this makes testbgpmpattr fail on FreeBSD. (The stdio buffering seems to be slightly different on FreeBSD, triggering the bug.) Just ignore stderr for expect. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions