$(_sc_search_regexp)
sc_prohibit_not_streq:
- @prohibit='! *STREQ *\(.*\)' \
- halt='Use STRNEQ instead of !STREQ' \
- $(_sc_search_regexp)
-
-sc_prohibit_not_strneq:
- @prohibit='! *STRNEQ *\(.*\)' \
- halt='Use STREQ instead of !STRNEQ' \
+ @prohibit='! *STRN?EQ *\(.*\)' \
+ halt='Use STRNEQ instead of !STREQ and STREQ instead of !STRNEQ' \
$(_sc_search_regexp)
sc_prohibit_verbose_strcat:
exclude_file_name_regexp--sc_prohibit_pthread_create = \
^(cfg\.mk|src/util/virthread\.c|tests/.*)$$
-exclude_file_name_regexp--sc_prohibit_not_streq = \
- ^tests/.*\.[ch]$$
-
-exclude_file_name_regexp--sc_prohibit_not_strneq = \
- ^tests/.*\.[ch]$$
-
exclude_file_name_regexp--sc_prohibit_dt_without_code = \
^docs/(newapi\.xsl|(apps|contact)\.html\.in)$$
goto cleanup;
}
- if (!STREQ(xml, data->expect)) {
+ if (STRNEQ(xml, data->expect)) {
fprintf(stderr, "\n backing store string '%s'\n"
"expected storage source xml:\n%s\n"
"actual storage source xml:\n%s\n",