Home
last modified time | relevance | path

Searched refs:op_token (Results 1 – 1 of 1) sorted by relevance

/third_party/ltp/lib/
Dtst_cmd.c243 char *cmd_token, *op_token, *version_token, *next, *str; in tst_check_cmd() local
252 op_token = strtok_r(NULL, " ", &next); in tst_check_cmd()
259 if (!op_token) in tst_check_cmd()
262 if (!strcmp(op_token, ">=")) in tst_check_cmd()
264 else if (!strcmp(op_token, ">")) in tst_check_cmd()
266 else if (!strcmp(op_token, "<=")) in tst_check_cmd()
268 else if (!strcmp(op_token, "<")) in tst_check_cmd()
270 else if (!strcmp(op_token, "==")) in tst_check_cmd()
272 else if (!strcmp(op_token, "!=")) in tst_check_cmd()
275 tst_brkm(TCONF, NULL, "Invalid op(%s)", op_token); in tst_check_cmd()