修复riscv64架构spawn-test失败的问题

This commit is contained in:
Yue-Lan 2023-04-25 14:50:45 +08:00
parent 68d8e88678
commit a0ea01b510
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ test_spawn_basics (void)
g_assert_true (result); g_assert_true (result);
g_test_message ("sort non-existing-file.txt error output: %s", erroutput); g_test_message ("sort non-existing-file.txt error output: %s", erroutput);
#ifndef G_OS_WIN32 #ifndef G_OS_WIN32
g_assert_true (g_str_has_prefix (erroutput, "sort: ")); g_assert_true (g_str_has_prefix (erroutput, "sort: ") || g_str_has_prefix (erroutput, "/usr/bin/sort: "));
g_assert_nonnull (strstr (erroutput, g_strerror (ENOENT))); g_assert_nonnull (strstr (erroutput, g_strerror (ENOENT)));
#else #else
{ {