#!/bin/bash
trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT
which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
+rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o SERVICEHOME`
TEST_IP="127.0.0.1"
gnunet-arm -s -c test_gns_lookup.conf
then
exit 0
else
+ echo "Failed to resolve to proper IP, got $RES_IP."
exit 1
fi