[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 68/75: fix gns and identity test script
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 68/75: fix gns and identity test script |
Date: |
Thu, 09 Aug 2018 23:59:05 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 65f9785e7752b6d73e2ad8c6ff2735336ad5baa6
Author: Phil <address@hidden>
AuthorDate: Mon Aug 6 02:26:04 2018 +0200
fix gns and identity test script
---
src/gns/plugin_rest_gns.c | 3 +--
src/gns/test_plugin_rest_gns.sh | 2 +-
src/identity/test_plugin_rest_identity.sh | 2 --
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 4be583f73..495d01504 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -32,6 +32,7 @@
#define GNUNET_REST_API_NS_GNS "/gns"
+
#define GNUNET_REST_GNS_PARAM_NAME "name"
#define GNUNET_REST_GNS_PARAM_RECORD_TYPE "record_type"
@@ -56,7 +57,6 @@ struct Plugin
};
-
struct RequestHandle
{
@@ -208,7 +208,6 @@ handle_gns_response (void *cls,
struct MHD_Response *resp;
json_t *result_array;
json_t *record_obj;
- char *record_value;
char *result;
handle->gns_lookup = NULL;
diff --git a/src/gns/test_plugin_rest_gns.sh b/src/gns/test_plugin_rest_gns.sh
index fca35ee2d..7ede44501 100755
--- a/src/gns/test_plugin_rest_gns.sh
+++ b/src/gns/test_plugin_rest_gns.sh
@@ -10,7 +10,7 @@ curl_get () {
#$1 is link
#$2 is grep
cache="$(curl -v "$1" 2>&1 | grep "$2")"
- echo $cache
+ #echo $cache
if [ "" == "$cache" ]
then
exit 1
diff --git a/src/identity/test_plugin_rest_identity.sh
b/src/identity/test_plugin_rest_identity.sh
index 22a7a53c6..d9377500e 100755
--- a/src/identity/test_plugin_rest_identity.sh
+++ b/src/identity/test_plugin_rest_identity.sh
@@ -3,8 +3,6 @@
#First, start gnunet-arm and the rest-service.
#Exit 0 means success, exit 1 means failed test
-#No test for subsystem available
-
identity_link="http://localhost:7776/identity"
wrong_link="http://localhost:7776/identityandmore"
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] 44/75: fix, (continued)
- [GNUnet-SVN] [gnunet] 44/75: fix, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 43/75: seems like mysql is currently broken in Guix, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 49/75: update dockerfile, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 58/75: added name search, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 61/75: fix makefiles, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 53/75: -Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 54/75: -Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 75/75: Merge branch 'gsoc2018/rest_api', gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 64/75: fix lowercase identities, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 62/75: -fix json and namestore, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 68/75: fix gns and identity test script,
gnunet <=
- [GNUnet-SVN] [gnunet] 57/75: -fix identity file, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 72/75: Peerinfo Rest API finished, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 59/75: -wip namestore api, changed adding gnsrecord, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 71/75: -fix added timeout for gns Rest plugin, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 67/75: GNS REST API finished, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 50/75: -wip fix gns, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 70/75: Namestore Rest API finished, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 65/75: add peerinfo rest api, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 73/75: -Merge branch 'master' into gsoc2018/rest_api, gnunet, 2018/08/09
- [GNUnet-SVN] [gnunet] 74/75: style, gnunet, 2018/08/09