From 2034f4a4ecc6f65ee84db9bff75e181e79e4a744 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 23 Sep 2013 17:53:18 +0000 Subject: -more script tests --- src/gns/test_gns_lookup.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/gns/test_gns_lookup.sh') 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" gnunet-arm -s -c test_gns_lookup.conf -gnunet-identity -C testego -c test_gns_lookup.conf - -gnunet-namestore -z testego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf +#gnunet-identity -C testego -c test_gns_lookup.conf +gnunet-namestore -p -z testego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf RES_IP=$(gnunet-gns --raw -z testego -u www.gnu -t A -c test_gns_lookup.conf) gnunet-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 if [ "$RES_IP" == "$TEST_IP" ] then - echo "OK" exit 0 else - echo "Result $RES_IP NOTOK" exit 1 fi -- cgit v1.2.3