Commit 3763fa5a authored by nextime's avatar nextime

Another fix...

parent c0742173
......@@ -35,3 +35,26 @@ index 388494d..3b6445d 100644
{
case 0:
t a/src/tests/test.c b/src/tests/test.c
index f828ffa..c57776f 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -302,7 +302,7 @@ test_spawned_job_abnormal_termination (void)
s = g_strdup_printf (UDISKS_TEST_DIR "/udisks-test-helper 4");
job = udisks_spawned_job_new (s, NULL, getuid (), geteuid (), NULL, NULL);
_g_assert_signal_received (job, "completed", G_CALLBACK (on_completed_expect_failure),
- (gpointer) "Command-line `./udisks-test-helper 4' was signaled with signal SIGSEGV (11): "
+ (gpointer) "Command-line `./udisks-test-helper 4 2> /dev/null' was signaled with signal SIGSEGV (11): "
"OK, deliberately causing a segfault\n");
g_object_unref (job);
g_free (s);
@@ -310,7 +310,7 @@ test_spawned_job_abnormal_termination (void)
s = g_strdup_printf (UDISKS_TEST_DIR "/udisks-test-helper 5");
job = udisks_spawned_job_new (s, NULL, getuid (), geteuid (), NULL, NULL);
_g_assert_signal_received (job, "completed", G_CALLBACK (on_completed_expect_failure),
- (gpointer) "Command-line `./udisks-test-helper 5' was signaled with signal SIGABRT (6): "
+ (gpointer) "Command-line `./udisks-test-helper 5 2> /dev/null' was signaled with signal SIGABRT (6): "
"OK, deliberately abort()'ing\n");
g_object_unref (job);
g_free (s);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment