Fix up the check_util test once more

This commit is contained in:
nick
2014-01-22 12:10:34 +00:00
parent 4f7f5f1745
commit dcead04cf6

View File

@@ -74,9 +74,9 @@ START_TEST( test_fatal_kills_process )
int kidret, kidstatus, result;
result = waitpid( pid, &kidret, 0 );
fail_if( result < 0, "Wait failed." );
kidstatus = WEXITSTATUS( kidret );
fail_unless( WIFSIGNALED( kidret ), "Process didn't exit via signal" );
kidstatus = WTERMSIG( kidret );
ck_assert_int_eq( kidstatus, SIGABRT );
// fail_unless( kidstatus == 6, "Kid was not aborted." );
}
}