-not sure I see how this test can work, disabling for now
[oweals/gnunet.git] / src / gns / test_gnunet_gns.sh
index cd680276d2f8aaea3e7c1868903129365e76b38b..2c15597651af78718984029ace06988151e9d966 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-
+trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT
 ME=`whoami`
 if [ "$ME" != "root" ]
 then
@@ -9,12 +9,12 @@ fi
 export PATH=".:$PATH"
 gnunet-service-gns -c gns.conf &
 sleep 1
-LO=`nslookup alice.gnunet | grep Address | tail -n1`
+LO=`nslookup alice.gnu | grep Address | tail -n1`
 if [ "$LO" != "Address: 1.2.3.4" ]
 then
  echo "Fail: $LO"
 fi
-LO=`nslookup www.bob.gnunet | grep Address | tail -n1`
+LO=`nslookup www.bob.gnu | grep Address | tail -n1`
 if [ "$LO" != "Address: 4.5.6.7" ]
 then
   echo "Fail: $LO"