[Freeswitch-svn] [commit] r8601 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua
Freeswitch SVN
mikej at freeswitch.org
Sat May 24 23:23:35 EDT 2008
Author: mikej
Date: Sat May 24 23:23:35 2008
New Revision: 8601
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c
Log:
Wed May 21 10:40:42 EDT 2008 Pekka Pessi <first.last at nokia.com>
* check_nua.c: fixed output when CHECK_NUA_CASES has been set
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c Sat May 24 23:23:35 2008
@@ -54,7 +54,7 @@
for (patterns = test_patterns; *patterns; patterns++) {
if (!fnmatch(*patterns, name, 0)) {
if (strcmp(*patterns, "*")) {
- printf("%s: match with %s\n", name, *patterns);
+ printf("%s: running\n", name);
}
_tcase_add_test(tc, tf, name, 0, 0, 1);
return;
@@ -64,14 +64,13 @@
for (patterns = test_patterns; *patterns; patterns++) {
if (!strcmp(*patterns, name) || !strcmp(*patterns, "*")) {
if (strcmp(*patterns, "*")) {
- printf("%s: match with %s\n", name, *patterns);
+ printf("%s: running\n", name);
}
_tcase_add_test(tc, tf, name, 0, 0, 1);
return;
}
}
#endif
- printf("%s: no match\n", name);
}
int main(int argc, char *argv[])
@@ -91,6 +90,7 @@
patterns = calloc(i, sizeof *patterns);
+ /* Split by commas */
for (i = 0, s = cases;; i++) {
patterns[i] = s;
if (s == NULL)
More information about the Freeswitch-svn
mailing list