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=""
c)
options="$options -c $OPTARG"
infomsg "Using configuration file $OPTARG"
+ GNUNET_CONFIG_FILE=${OPTARG}
;;
\?)
echo "Invalid option: -$OPTARG" >&2
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 ();
}
# 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