gnunet-svn
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]