diff options
Diffstat (limited to 'src/gns/test_gns_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_lookup.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gns/test_gns_lookup.sh b/src/gns/test_gns_lookup.sh index f90fb7364..6eb16aa52 100755 --- a/src/gns/test_gns_lookup.sh +++ b/src/gns/test_gns_lookup.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT | 2 | trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT |
3 | rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` | 3 | rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` |
4 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | 4 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" |
5 | TEST_IP="127.0.0.1" | 5 | TEST_IP="127.0.0.1" |
6 | gnunet-arm -s -c test_gns_lookup.conf | 6 | gnunet-arm -s -c test_gns_lookup.conf |
7 | gnunet-identity -C testego -c test_gns_lookup.conf | 7 | gnunet-identity -C testego -c test_gns_lookup.conf |
@@ -13,7 +13,6 @@ gnunet-arm -e -c test_gns_lookup.conf | |||
13 | 13 | ||
14 | if [ "$RES_IP" == "$TEST_IP" ] | 14 | if [ "$RES_IP" == "$TEST_IP" ] |
15 | then | 15 | then |
16 | echo "PASS: Resolved correct IP address, got $RES_IP" | ||
17 | exit 0 | 16 | exit 0 |
18 | else | 17 | else |
19 | echo "FAIL: Failed to resolve to proper IP, got $RES_IP." | 18 | echo "FAIL: Failed to resolve to proper IP, got $RES_IP." |