bvdberg/ctest — pull request #4 by lgov (2012-10-16 21:58:37+00:00)
Title: Fix segfault when testing NULL pointer with expected string.

* ctest.h
(assert_str): Check for NULL-pointers before invoking strcmp.

* mytests.c
(test_null_null, test_null_string,
test_string_null, test_string_diff_ptrs): Add some new tests.