| 1900 | } |
| 1901 | |
| 1902 | static bool sp_stdout_stderr_only(const sp_stdout_logs_t *log) { |
| 1903 | return !log->overflow && log->count == 2 && strcmp(log->lines[0], "stderr-first") == 0 && |
| 1904 | strcmp(log->lines[1], "stderr-tail") == 0; |
| 1905 | } |
| 1906 | |
| 1907 | static int sp_stdout_run(const char *mode, cbm_proc_opts_t *opts, cbm_proc_result_t *result) { |
| 1908 | const char *argv[] = {sp_stdout_test_binary, "__cbm_subprocess_stdout_probe", mode, "", NULL}; |