Skip to content

Commit

Permalink
locktests: fix test suite
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <[email protected]>
  • Loading branch information
Christian Brauner committed Mar 30, 2018
1 parent b19aabf commit 59ecb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/locktests.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void test_two_locks(void)
if (WIFEXITED(status)) {
printf("%d exited normally with exit code %d\n", pid,
WEXITSTATUS(status));
if (WEXITSTATUS(status) == 0)
if (WEXITSTATUS(status) != 0)
exit(1);
} else
printf("%d did not exit normally\n", pid);
Expand Down

0 comments on commit 59ecb67

Please sign in to comment.