增加spawn-test的日志输出,目前riscv64架构上报错需要处理

This commit is contained in:
Yue-Lan 2023-04-25 11:48:35 +08:00
parent 4e5baba3a4
commit 7646cd5f5e
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ test_spawn_basics (void)
NULL, &erroutput, NULL, &err);
g_assert_no_error (err);
g_assert_true (result);
g_test_message ("sort non-existing-file.txt error output: %s", erroutput);
#ifndef G_OS_WIN32
g_assert_true (g_str_has_prefix (erroutput, "sort: "));
g_assert_nonnull (strstr (erroutput, g_strerror (ENOENT)));