test library functions. the point of these tests is not so much to test * functions' behaviour as it is to make sure there are no segfaults if * they are called with invalid parameters. */
| 238 | * they are called with invalid parameters. |
| 239 | */ |
| 240 | int |
| 241 | test_cmdline_lib(void) |
| 242 | { |
| 243 | if (test_cmdline_parse_fns() < 0) |
| 244 | return -1; |
| 245 | if (test_cmdline_rdline_fns() < 0) |
| 246 | return -1; |
| 247 | if (test_cmdline_vt100_fns() < 0) |
| 248 | return -1; |
| 249 | if (test_cmdline_socket_fns() < 0) |
| 250 | return -1; |
| 251 | if (test_cmdline_fns() < 0) |
| 252 | return -1; |
| 253 | return 0; |
| 254 | } |
no test coverage detected