[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: portability fix, use = instead of == wit
From: |
gnunet |
Subject: |
[gnunet] branch master updated: portability fix, use = instead of == with test |
Date: |
Sun, 27 Oct 2019 18:32:59 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new cf9440cc4 portability fix, use = instead of == with test
new 577627286 Merge branch 'master' of gnunet.org:gnunet
cf9440cc4 is described below
commit cf9440cc40334ed87755615ecf6d5d2c2445f17b
Author: ng0 <address@hidden>
AuthorDate: Sun Oct 27 17:29:56 2019 +0000
portability fix, use = instead of == with test
---
src/namestore/test_plugin_rest_namestore.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/namestore/test_plugin_rest_namestore.sh
b/src/namestore/test_plugin_rest_namestore.sh
index f3a4b7c49..014057e56 100755
--- a/src/namestore/test_plugin_rest_namestore.sh
+++ b/src/namestore/test_plugin_rest_namestore.sh
@@ -25,7 +25,7 @@ curl_get () {
resp=$(curl -v "$1" 2>&1)
cache="$(echo $resp | grep "$2")"
#echo $cache
- if [ "" == "$cache" ]
+ if [ "" = "$cache" ]
then
echo "Error in get response: $resp, expected $2"
gnunet-arm -e -c test_namestore_api.conf
@@ -40,7 +40,7 @@ curl_post () {
resp=$(curl -v -X "POST" "$1" --data "$2" 2>&1)
cache="$(echo $resp | grep "$3")"
#echo $cache
- if [ "" == "$cache" ]
+ if [ "" = "$cache" ]
then
echo "Error in post response: $resp ($2), expected $3"
gnunet-arm -e -c test_namestore_api.conf
@@ -54,7 +54,7 @@ curl_delete () {
resp=$(curl -v -X "DELETE" "$1" 2>&1)
cache="$(echo $resp | grep "$2")"
#echo $cache
- if [ "" == "$cache" ]
+ if [ "" = "$cache" ]
then
echo "Error in delete response: $resp, expected $2"
gnunet-arm -e -c test_namestore_api.conf
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: portability fix, use = instead of == with test,
gnunet <=