FreeBSD Bugzilla – Attachment 153405 Details for
Bug 197599
devel/librest: does not pass the tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix coredump in oauth, enable regression tests
librest.diff (text/plain), 2.62 KB, created by
Christoph Moench-Tegeder
on 2015-02-24 00:31:52 UTC
(
hide
)
Description:
fix coredump in oauth, enable regression tests
Filename:
MIME Type:
Creator:
Christoph Moench-Tegeder
Created:
2015-02-24 00:31:52 UTC
Size:
2.62 KB
patch
obsolete
>M Makefile >A files >A files/patch-rest_oauth-proxy-call.c >A files/patch-tests_custom-serialize.c >A files/patch-tests_threaded.c > >Index: Makefile >=================================================================== >--- Makefile (revision 379716) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= rest > PORTVERSION= 0.7.92 >+PORTREVISION= 1 > CATEGORIES= devel www > MASTER_SITES= GNOME > >@@ -35,4 +36,8 @@ > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0 > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0 > >+regression-test: >+ (cd ${WRKSRC}/tests && \ >+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} check) >+ > .include <bsd.port.mk> >Index: files/patch-rest_oauth-proxy-call.c >=================================================================== >--- files/patch-rest_oauth-proxy-call.c (revision 0) >+++ files/patch-rest_oauth-proxy-call.c (working copy) >@@ -0,0 +1,10 @@ >+--- rest/oauth-proxy-call.c.orig 2015-02-24 01:13:22.000000000 +0100 >++++ rest/oauth-proxy-call.c 2015-02-24 01:13:39.000000000 +0100 >+@@ -25,6 +25,7 @@ >+ #include <rest/rest-proxy-call.h> >+ #include "oauth-proxy-call.h" >+ #include "oauth-proxy-private.h" >++#include "rest-proxy-call-private.h" >+ #include "sha1.h" >+ >+ G_DEFINE_TYPE (OAuthProxyCall, oauth_proxy_call, REST_TYPE_PROXY_CALL) >Index: files/patch-tests_custom-serialize.c >=================================================================== >--- files/patch-tests_custom-serialize.c (revision 0) >+++ files/patch-tests_custom-serialize.c (working copy) >@@ -0,0 +1,11 @@ >+--- tests/custom-serialize.c.orig 2015-02-23 23:22:16.000000000 +0100 >++++ tests/custom-serialize.c 2015-02-23 23:22:28.000000000 +0100 >+@@ -125,6 +125,8 @@ >+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL); >+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL); >+ >++ sleep(2); >++ >+ url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server)); >+ >+ proxy = rest_proxy_new (url, FALSE); >Index: files/patch-tests_threaded.c >=================================================================== >--- files/patch-tests_threaded.c (revision 0) >+++ files/patch-tests_threaded.c (working copy) >@@ -0,0 +1,11 @@ >+--- tests/threaded.c.orig 2015-02-23 23:21:35.000000000 +0100 >++++ tests/threaded.c 2015-02-23 23:22:06.000000000 +0100 >+@@ -92,6 +92,8 @@ >+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL); >+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL); >+ >++ sleep(2); >++ >+ url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server)); >+ >+ for (i = 0; i < G_N_ELEMENTS (threads); i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cmt
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 197599
:
152945
|
152946
|
153126
| 153405 |
153473