[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix -c option
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix -c option |
Date: |
Wed, 03 Apr 2019 12:02:05 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d401c9e5e fix -c option
d401c9e5e is described below
commit d401c9e5e66385f260cbb289185da4019a0e4531
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Apr 3 12:01:59 2019 +0200
fix -c option
---
src/gns/gnunet-gns-proxy-setup-ca.in | 3 ++-
src/gns/test_gns_proxy.c | 4 +++-
src/gns/test_proxy.sh | 2 ++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/gns/gnunet-gns-proxy-setup-ca.in
b/src/gns/gnunet-gns-proxy-setup-ca.in
index 59dc69da9..184da4853 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca.in
+++ b/src/gns/gnunet-gns-proxy-setup-ca.in
@@ -141,7 +141,7 @@ generate_ca()
rm -f $GNSCAKY $GNSCANO $GNSCERT
exit 1
fi
- if [ -n "${GNUNET_CONFIG}" ]; then
+ if [ -n "${GNUNET_CONFIG_FILE}" ]; then
GNUNET_CONFIG="-c ${GNUNET_CONFIG_FILE}"
else
GNUNET_CONFIG=""
@@ -231,6 +231,7 @@ main()
c)
options="$options -c $OPTARG"
infomsg "Using configuration file $OPTARG"
+ GNUNET_CONFIG_FILE=${OPTARG}
;;
\?)
echo "Invalid option: -$OPTARG" >&2
diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c
index 0bfd84c91..2a7f8104b 100644
--- a/src/gns/test_gns_proxy.c
+++ b/src/gns/test_gns_proxy.c
@@ -370,7 +370,9 @@ start_curl (void *cls)
multi = curl_multi_init ();
GNUNET_assert (multi != NULL);
GNUNET_assert (CURLM_OK == curl_multi_add_handle (multi, curl));
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Beginning HTTP download from `%s'\n",
url);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Beginning HTTP download from `%s'\n",
+ url);
curl_main ();
}
diff --git a/src/gns/test_proxy.sh b/src/gns/test_proxy.sh
index 5ea083122..7c17cd4c5 100755
--- a/src/gns/test_proxy.sh
+++ b/src/gns/test_proxy.sh
@@ -2,6 +2,8 @@
# This file is in the public domain.
TEST_DOMAIN="www.test"
+# Delete old files before starting test
+rm -rf /tmp/gnunet/test-gnunet-gns-testing/
gnunet-arm -s -c test_gns_proxy.conf
gnunet-gns-proxy-setup-ca -c test_gns_proxy.conf
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix -c option,
gnunet <=