mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Merge branch 'wip/pwithnall/fix-bsd-spawn-test' into 'main'
tests: Make a string comparison on an error string more relaxed See merge request GNOME/glib!2597
This commit is contained in:
commit
bb04fdc013
@ -107,8 +107,8 @@ test_spawn_basics (void)
|
||||
NULL, &erroutput, NULL, &err);
|
||||
g_assert_no_error (err);
|
||||
g_assert_true (result);
|
||||
g_assert_cmpstr (erroutput, ==,
|
||||
"sort: cannot read: non-existing-file.txt: No such file or directory\n");
|
||||
g_assert_true (g_str_has_prefix (erroutput, "sort: "));
|
||||
g_assert_nonnull (strstr (erroutput, "No such file or directory"));
|
||||
|
||||
g_free (erroutput);
|
||||
erroutput = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user