if (!dst_algorithm_supported(DST_ALG_RSAMD5)) {
dst_lib_destroy();
t_info("library built without crypto support\n");
- t_result(T_UNTESTED);
+ t_result(T_SKIPPED);
return;
}
if (!dst_algorithm_supported(DST_ALG_RSAMD5)) {
dst_lib_destroy();
t_info("library built without crypto support\n");
- return (T_UNTESTED);
+ return (T_SKIPPED);
}
t_info("testing %s, %s, %s, %s, %s, %s\n",
case T_UNRESOLVED:
p = "UNRESOLVED";
break;
- case T_UNSUPPORTED:
- p = "UNSUPPORTED";
+ case T_SKIPPED:
+ p = "SKIPPED";
break;
case T_UNTESTED:
p = "UNTESTED";
int line;
int cnt;
int result;
+ int tresult;
int nfails;
int nprobs;
int npass;
char *tokens[T_MAXTOKS + 1];
+ tresult = T_UNTESTED;
npass = 0;
nfails = 0;
nprobs = 0;
cnt = t_bustline(p, tokens);
if (cnt == nargs) {
- result = func(tokens);
- switch (result) {
+ tresult = func(tokens);
+ switch (tresult) {
case T_PASS:
++npass;
break;
case T_FAIL:
++nfails;
break;
+ case T_SKIPPED:
case T_UNTESTED:
break;
default:
else if (nfails > 0)
result = T_FAIL;
else if (npass == 0)
- result = T_UNTESTED;
+ result = tresult;
return (result);
}