Commit 19cd174e authored by nextime's avatar nextime

Fix tests to make qemu-[arch]-static happy

parent db0aa4ea
......@@ -2,6 +2,7 @@ Source: udisks2
Section: admin
Priority: optional
Maintainer: Dimitri Puzin <max@psycasst.de>
Uploaders: Franco (nextime) Lanza <nextime@nexlab.it>
Build-Depends: debhelper (>= 9),
pkg-config,
xsltproc,
......
diff --git a/src/tests/test.c b/src/tests/test.c
index f828ffa..f1845eb 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -299,7 +299,7 @@ test_spawned_job_abnormal_termination (void)
UDisksSpawnedJob *job;
gchar *s;
- s = g_strdup_printf (UDISKS_TEST_DIR "/udisks-test-helper 4");
+ s = g_strdup_printf (UDISKS_TEST_DIR "/udisks-test-helper 4 2> /dev/null");
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): "
@@ -307,7 +307,7 @@ test_spawned_job_abnormal_termination (void)
g_object_unref (job);
g_free (s);
- s = g_strdup_printf (UDISKS_TEST_DIR "/udisks-test-helper 5");
+ s = g_strdup_printf (UDISKS_TEST_DIR "/udisks-test-helper 5 2> /dev/null");
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): "
......@@ -3,3 +3,4 @@
mount_in_media.patch
unsupported_acls.patch
#libsystemd.patch
qemu-fixtests.patch
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