Skip to content

Commit 6921d99

Browse files
authored
[tests] Fix error code check (#871)
1 parent 0035df7 commit 6921d99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/BCM56850.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,11 @@ sub test_sairedis_client
672672

673673
`./testclient`;
674674

675+
my $exit = $?;
676+
675677
`killall -9 saiplayer`;
676678

677-
if ($? != 0)
679+
if ($exit != 0)
678680
{
679681
print color('red') . "test client failed" . color('reset') . "\n";
680682
exit 1;

0 commit comments

Comments
 (0)