From 4d4a16e000683046ebb19e6efe15e11d60c2178d Mon Sep 17 00:00:00 2001 From: Andreas Ebner Date: Fri, 20 Sep 2019 11:32:00 +0200 Subject: Test cleanup/fix: - added missing "- -" to collect for macOS - replaced 'import $SIGNED' with 'import=$SIGNED' to match all other parameters and better visibility --- src/credential/test_credential_bi_bw_link.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/credential/test_credential_bi_bw_link.sh') diff --git a/src/credential/test_credential_bi_bw_link.sh b/src/credential/test_credential_bi_bw_link.sh index 86b0e7418..f002c2141 100755 --- a/src/credential/test_credential_bi_bw_link.sh +++ b/src/credential/test_credential_bi_bw_link.sh @@ -35,6 +35,7 @@ DKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep d | awk '{print EKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep e | awk '{print $3}') 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}') +gnunet-identity -d # (1) (A.a) <- B.b # (2) (B.b) <- G.g.c @@ -52,13 +53,13 @@ gnunet-credential --createIssuerSide --ego=g --attribute="g" --subject="$CKEY" - 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 # Starting to resolve -- cgit v1.2.3