$OpenBSD: patch-tests_libpeas_extension-c_c,v 1.2 2014/03/31 11:18:47 jasper Exp $

Add error messages on OpenBSD to test log hooks
https://bugzilla.gnome.org/show_bug.cgi?id=727380

--- tests/libpeas/extension-c.c.orig	Mon Mar 31 12:13:34 2014
+++ tests/libpeas/extension-c.c	Mon Mar 31 12:15:14 2014
@@ -53,7 +53,11 @@ test_extension_c_nonexistent (PeasEngine *engine)
 {
   PeasPluginInfo *info;
 
+#ifndef __OpenBSD__
   testing_util_push_log_hook ("*extension-c-nonexistent*No such file*");
+#else
+  testing_util_push_log_hook ("extension-c-nonexistent: File not found");
+#endif /* !__OpenBSD__ */
   testing_util_push_log_hook ("Error loading plugin 'extension-c-nonexistent'");
 
   info = peas_engine_get_plugin_info (engine, "extension-c-nonexistent");
