path: root/src/credential/
diff options
authorAndreas Ebner <>2019-09-20 11:32:00 +0200
committerSchanzenbach, Martin <>2019-10-07 12:18:20 +0200
commit4d4a16e000683046ebb19e6efe15e11d60c2178d (patch)
tree291ce657e2eabe7bf89b4ca3c929f2331da16f23 /src/credential/
parent3099a7c25cf6b11b0f1909e5a2651d65c0e921c7 (diff)
Test cleanup/fix:
- added missing "- -" to collect for macOS - replaced 'import $SIGNED' with 'import=$SIGNED' to match all other parameters and better visibility
Diffstat (limited to 'src/credential/')
1 files changed, 5 insertions, 4 deletions
diff --git a/src/credential/ b/src/credential/
index 23b55111c..f076c1c5c 100755
--- a/src/credential/
+++ b/src/credential/
@@ -37,6 +37,7 @@ EKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep e | awk '{print
FKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep f | awk '{print $3}')
GKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep g | awk '{print $3}')
HKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep h | awk '{print $3}')
+gnunet-identity -d
# (1) (A.a) <- B.b
# (2) (B.b) <- C.c AND G.g
@@ -52,16 +53,16 @@ gnunet-credential --createIssuerSide --ego=b --attribute="b" --subject="$CKEY c,
gnunet-namestore -D -z b
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=c --attribute="c" --subject="$DKEY d" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=d --import "$SIGNED"
+gnunet-credential --createSubjectSide --ego=d --import="$SIGNED"
gnunet-namestore -D -z d
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=d --attribute="d" --subject="$EKEY e" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=e --import "$SIGNED"
+gnunet-credential --createSubjectSide --ego=e --import="$SIGNED"
gnunet-namestore -D -z e
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=e --attribute="e" --subject="$FKEY" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=f --import "$SIGNED" --private
+gnunet-credential --createSubjectSide --ego=f --import="$SIGNED" --private
gnunet-namestore -D -z f
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=g --attribute="g" --subject="$FKEY" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=f --import "$SIGNED" --private
+gnunet-credential --createSubjectSide --ego=f --import="$SIGNED" --private
gnunet-namestore -D -z h
# Starting to resolve