tests: insertbin: update tests to 1.x scenario
authorThiago Santos <ts.santos@sisa.samsung.com>
Tue, 4 Feb 2014 17:15:40 +0000 (14:15 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Tue, 4 Feb 2014 17:17:26 +0000 (14:17 -0300)
commit05ea12eaeab93c70cf27a8a9ef8648ccab10ad25
tree8b6246e13246754adea2daa64a310a8d3bc697b7
parentf5cf6016386afa2614cbb0fb78827cd1cabceb84
tests: insertbin: update tests to 1.x scenario

The thread that calls the success/failure callback can be the
same that is adding/removing the element as the IDLE probe can
happen instantly if the pad is not 'busy'.

This required moving some checks for the callback counter around
as well as removing some pad pushes from the main test thread as
they were made useless after the IDLE pad probe was fixed in core
by commit 0324358ebc8122a41ab499a3ef7973b61c3e621b
tests/check/libs/insertbin.c