tests: fix fdsrc test corner case
authorTim-Philipp Müller <tim@centricular.com>
Tue, 28 Oct 2014 00:04:05 +0000 (00:04 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 28 Oct 2014 00:10:26 +0000 (00:10 +0000)
commitcaed34f45fa028ded4743ce1230d9d26feece003
tree25cdd83c0bba5ee3fbabc09a93899393d17be052
parent2e8187b178c5e04430319a97f52168b1a4a97f21
tests: fix fdsrc test corner case

Make pipe socket non-blocking, so we don't
end up being blocked in a write on the pipe
while the src is eos and not reading data
any more, and thus we never unblock and never
notice that we're done. This would happen
quite reliably on the rpi.
tests/check/elements/fdsrc.c