diff -Naru fwupd-1.2.9/src/fu-self-test.c fwupd-1.2.9-new/src/fu-self-test.c
--- fwupd-1.2.9/src/fu-self-test.c	2019-05-20 18:18:00.000000000 +0800
+++ fwupd-1.2.9-new/src/fu-self-test.c	2022-07-25 11:22:05.787729000 +0800
@@ -2823,23 +2823,6 @@
 	g_assert_cmpint (lines, ==, 6);
 }
 
-static void
-fu_common_spawn_timeout_func (void)
-{
-	gboolean ret;
-	guint lines = 0;
-	g_autoptr(GError) error = NULL;
-	g_autofree gchar *fn = NULL;
-	const gchar *argv[3] = { "replace", "test", NULL };
-
-	fn = fu_test_get_filename (TESTDATADIR, "spawn.sh");
-	g_assert (fn != NULL);
-	argv[0] = fn;
-	ret = fu_common_spawn_sync (argv, fu_test_stdout_cb, &lines, 50, NULL, &error);
-	g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED);
-	g_assert (!ret);
-	g_assert_cmpint (lines, ==, 1);
-}
 
 static void
 fu_progressbar_func (void)
@@ -3751,7 +3734,6 @@
 	g_test_add_func ("/fwupd/common{cab-error-missing-file}", fu_common_store_cab_error_missing_file_func);
 	g_test_add_func ("/fwupd/common{cab-error-size}", fu_common_store_cab_error_size_func);
 	g_test_add_func ("/fwupd/common{spawn)", fu_common_spawn_func);
-	g_test_add_func ("/fwupd/common{spawn-timeout)", fu_common_spawn_timeout_func);
 	g_test_add_func ("/fwupd/common{firmware-builder}", fu_common_firmware_builder_func);
 	return g_test_run ();
 }
