Changeset 535d68b
- Timestamp:
- Jul 7, 2007, 5:43:22 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 93f65b6
- Parents:
- 1cf3f8d3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
filter.c
rd791cdb r535d68b 283 283 int failed = 0; 284 284 if(owl_filter_init_fromstring(&f, "test-filter", filt)) { 285 printf(" \tFAIL:parse %s\n", filt);285 printf("not ok can't parse %s\n", filt); 286 286 failed = 1; 287 287 goto out; … … 289 289 ok = owl_filter_message_match(&f, m); 290 290 if((shouldmatch && !ok) || (!shouldmatch && ok)) { 291 printf(" \tFAIL:match %s (got %d, expected %d)\n", filt, ok, shouldmatch);291 printf("not ok match %s (got %d, expected %d)\n", filt, ok, shouldmatch); 292 292 failed = 1; 293 293 } … … 295 295 owl_filter_free(&f); 296 296 if(!failed) { 297 printf(" \tok :%s %s\n", shouldmatch ? "matches" : "doesn't match", filt);297 printf("ok %s %s\n", shouldmatch ? "matches" : "doesn't match", filt); 298 298 } 299 299 return failed; -
obarray.c
rdb90f03 r535d68b 80 80 owl_obarray_init(&oa); 81 81 82 printf(" BEGIN testing owl_obarray\n");82 printf("# BEGIN testing owl_obarray\n"); 83 83 84 84 p = owl_obarray_insert(&oa, "test"); … … 96 96 FAIL_UNLESS("Didn't find a string that isn't there", p == NULL); 97 97 98 printf(" END testing owl_obarray (%d failures)\n", numfailed);98 printf("# END testing owl_obarray (%d failures)\n", numfailed); 99 99 100 100 return numfailed;
Note: See TracChangeset
for help on using the changeset viewer.