[mutter/wip/carlosg/test] foo




commit c123c2b828282093715c8f28b4d13c6d794deb79
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jun 5 12:36:30 2021 +0200

    foo

 src/tests/native-screen-cast.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/tests/native-screen-cast.c b/src/tests/native-screen-cast.c
index bcde15665d..a2171e2f77 100644
--- a/src/tests/native-screen-cast.c
+++ b/src/tests/native-screen-cast.c
@@ -74,6 +74,11 @@ meta_test_screen_cast_record_virtual (void)
                                  test_client_exited,
                                  loop);
   g_main_loop_run (loop);
+
+  if (g_subprocess_get_if_exited (subprocess))
+    g_assert_cmpint (g_subprocess_get_status (subprocess), ==, 0);
+  if (g_subprocess_get_if_signaled (subprocess))
+    g_assert_cmpint (g_subprocess_get_term_sig (subprocess), ==, 0);
   g_assert_true (g_subprocess_get_successful (subprocess));
   g_object_unref (subprocess);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]