diff -r ec364358631b -r f600b0d1fc5d test/harness/testcase.c --- a/test/harness/testcase.c Thu Jan 26 23:35:52 2012 +0000 +++ b/test/harness/testcase.c Fri Jan 27 10:30:16 2012 +0000 @@ -7,7 +7,7 @@ #include #endif #include -#include +#include #include "testcase.h" #if !HAVE_MKSTEMP @@ -124,9 +124,9 @@ return FALSE; } close(fd); - command[0]=getenv("GUTCHECK"); + command[0]=getenv("BOOKLOUPE"); if (!command[0]) - command[0]="." GC_DIR_SEPARATOR_S "gutcheck"; + command[0]="." BL_DIR_SEPARATOR_S "bookloupe"; command[1]=input; command[2]=NULL; if (testcase->expected) @@ -157,7 +157,7 @@ fprintf(stderr,"%s: FAIL\n",testcase->basename); offset=common_prefix_length(output,expected->str); if (offset==header_len && !output[offset]) - fprintf(stderr,"Unexpected zero warnings from gutcheck.\n"); + fprintf(stderr,"Unexpected zero warnings from bookloupe.\n"); else { endp=strchr(output+offset,'\n'); @@ -171,7 +171,7 @@ else bol=report->str; col=offset-(bol-report->str); - fprintf(stderr,"Unexpected output from gutcheck:\n"); + fprintf(stderr,"Unexpected output from bookloupe:\n"); if (report->len>=header_len) fprintf(stderr,"%s\n%*s^\n",report->str+header_len,col,""); else @@ -185,7 +185,7 @@ string_free(expected,TRUE); mem_free(output); if (exit_status) - fprintf(stderr,"gutcheck exited with code %d\n",r); + fprintf(stderr,"bookloupe exited with code %d\n",r); if (!exit_status) fprintf(stderr,"%s: PASS\n",testcase->basename); return !exit_status;