LOCATION=$(which gnunet-config)
if [ -z $LOCATION ]
+then
+ LOCATION="gnunet-config"
+fi
+$LOCATION --version
+if test $? != 0
then
echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
- exit 1
+ exit 77
fi
trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT
if [ "$ME" != "root" ]
then
echo "This test only works if run as root. Skipping."
- exit 0
+ exit 77
fi
export PATH=".:$PATH"
gnunet-service-gns -c gns.conf &