mirror of https://gitee.com/openkylin/glib2.0.git
修复riscv64架构spawn-test失败的问题
This commit is contained in:
parent
68d8e88678
commit
a0ea01b510
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue