Fix test to check for status flag.

This commit is contained in:
Andreas Schneider 2008-04-29 11:21:22 +02:00
parent eadbaa76d5
commit 3bf6fc7e82

View file

@ -37,7 +37,7 @@ START_TEST (check_csync_init)
{
fail_unless(csync_init(csync) == 0, NULL);
fail_unless(csync->initialized == 1, NULL);
fail_unless((csync->status & CSYNC_INIT) == 1, NULL);
fail_unless(csync_init(csync) == 1, NULL);
}