tests: fix autodetect test not testing correctly for state change success
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 16 Jan 2012 16:10:08 +0000 (16:10 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 16 Jan 2012 16:10:08 +0000 (16:10 +0000)
commite9e0bebde3ef6c4e55ac3fe621f249946a4fb0d9
treee4a7b93078f94fecf704fcd56c01961e90cc0444
parent2a7a38ca0738d285caf3703001c4bac06dc31ff5
tests: fix autodetect test not testing correctly for state change success

State change to PAUSED can be done async, so if this happens, we need
to wait for the change to be done (or failed).
tests/check/elements/autodetect.c