tests: Check that option-argv0 test succeeds on Linux

To avoid potential regression in feature check that configures
`HAVE_PROC_SELF_CMDLINE` treat test failures on Linux as fatal.

This restores behaviour from before 4c038a27ff.
This commit is contained in:
Tomasz Miąsko 2019-04-07 00:00:00 +00:00
parent 7a399e859d
commit 7db35ec7a8

View File

@ -60,7 +60,7 @@ test_platform_argv0 (void)
* to prevent them from crashing hard on failed assertions,
* and make them call g_test_skip() instead.
*/
#if !defined HAVE_PROC_SELF_CMDLINE && !defined __OpenBSD__
#if !defined HAVE_PROC_SELF_CMDLINE && !defined __OpenBSD__ && !defined __linux
fatal_errors = FALSE;
#endif