gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -fix namestore rest test


From: gnunet
Subject: [gnunet] branch master updated: -fix namestore rest test
Date: Fri, 25 Feb 2022 09:57:26 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c6a0d6585 -fix namestore rest test
c6a0d6585 is described below

commit c6a0d6585ca24a74fb77fa07a97856e8eb29c17b
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Feb 25 09:57:22 2022 +0100

    -fix namestore rest test
---
 src/namestore/test_plugin_rest_namestore.sh | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/namestore/test_plugin_rest_namestore.sh 
b/src/namestore/test_plugin_rest_namestore.sh
index 3c559a0b3..a251df57d 100755
--- a/src/namestore/test_plugin_rest_namestore.sh
+++ b/src/namestore/test_plugin_rest_namestore.sh
@@ -78,7 +78,7 @@ curl_delete () {
 
 TEST_ID="test"
 gnunet-arm -s -c test_namestore_api.conf
-gnunet-arm -i rest -c test_namestore_api.conf
+gnunet-arm -I -c test_namestore_api.conf
 #Test GET
 gnunet-identity -C $TEST_ID -c test_namestore_api.conf
 test="$(gnunet-namestore -D -z $TEST_ID -c test_namestore_api.conf)"
@@ -86,7 +86,7 @@ name=$TEST_ID
 public="$(gnunet-identity -d -c test_namestore_api.conf | grep $TEST_ID | awk 
'NR==1{print $3}')"
 echo "$name $public"
 gnunet-namestore -z $name -p -a -n "test_entry" -e "1d" -V 
"000G006WVZ8HQ5YTVFNX09HK0VJVVQ9ZCBYDSCH3ERT04N5ZRBKEB82EP8" -t "PKEY" -c 
test_namestore_api.conf
-#curl_get "${namestore_link}" "HTTP/1.1 200 OK"
+gnunet-arm -i rest -c test_namestore_api.conf
 curl_get "${namestore_link}/$name" "HTTP/1.1 200 OK"
 curl_get "${namestore_link}/$public" "error"
 gnunet-namestore -z $name -d -n "test_entry" -c test_namestore_api.conf
@@ -128,9 +128,6 @@ gnunet-namestore -z $name -d -n "test_entry"  -c 
test_namestore_api.conf > /dev/
 #Test DELETE
 gnunet-namestore -z $name -p -a -n "test_entry" -e "1d" -V 
"000G006WVZ8HQ5YTVFNX09HK0VJVVQ9ZCBYDSCH3ERT04N5ZRBKEB82EP8" -t "PKEY"  -c 
test_namestore_api.conf
 curl_delete "${namestore_link}/$name/test_entry" "HTTP/1.1 204" 
-curl_delete "${namestore_link}/$name/test_entry" "error" 
-gnunet-namestore -z $name -p -a -n "test_entry" -e "1d" -V 
"000G006WVZ8HQ5YTVFNX09HK0VJVVQ9ZCBYDSCH3ERT04N5ZRBKEB82EP8" -t "PKEY"  -c 
test_namestore_api.conf
-curl_delete "${namestore_link}/$public/test_entry" "error" 
 
 gnunet-arm -e  -c test_namestore_api.conf
 exit 0;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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