aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_lookup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_lookup.sh')
-rw-r--r--src/gns/test_gns_lookup.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gns/test_gns_lookup.sh b/src/gns/test_gns_lookup.sh
index a2c531ebb..b15c114fd 100644
--- a/src/gns/test_gns_lookup.sh
+++ b/src/gns/test_gns_lookup.sh
@@ -4,10 +4,9 @@ TEST_IP="127.0.0.1"
4 4
5gnunet-arm -s -c test_gns_lookup.conf 5gnunet-arm -s -c test_gns_lookup.conf
6 6
7gnunet-identity -C testego -c test_gns_lookup.conf 7#gnunet-identity -C testego -c test_gns_lookup.conf
8
9gnunet-namestore -z testego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf
10 8
9gnunet-namestore -p -z testego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf
11RES_IP=$(gnunet-gns --raw -z testego -u www.gnu -t A -c test_gns_lookup.conf) 10RES_IP=$(gnunet-gns --raw -z testego -u www.gnu -t A -c test_gns_lookup.conf)
12 11
13gnunet-namestore -z testego -d -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf 12gnunet-namestore -z testego -d -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf
@@ -16,10 +15,8 @@ gnunet-arm -e -c test_gns_lookup.conf
16 15
17if [ "$RES_IP" == "$TEST_IP" ] 16if [ "$RES_IP" == "$TEST_IP" ]
18then 17then
19 echo "OK"
20 exit 0 18 exit 0
21else 19else
22 echo "Result $RES_IP NOTOK"
23 exit 1 20 exit 1
24fi 21fi
25 22