3 LOCATION=$(which gnunet-config)
6 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
10 trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT
12 if [ "$ME" != "root" ]
14 echo "This test only works if run as root. Skipping."
18 gnunet-service-gns -c gns.conf &
20 LO=`nslookup alice.gnu | grep Address | tail -n1`
21 if [ "$LO" != "Address: 1.2.3.4" ]
25 LO=`nslookup www.bob.gnu | grep Address | tail -n1`
26 if [ "$LO" != "Address: 4.5.6.7" ]