diff options
Diffstat (limited to 'src/namestore/test_namestore_lookup.sh')
-rwxr-xr-x | src/namestore/test_namestore_lookup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/test_namestore_lookup.sh b/src/namestore/test_namestore_lookup.sh index 681af7d96..c080fa961 100755 --- a/src/namestore/test_namestore_lookup.sh +++ b/src/namestore/test_namestore_lookup.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | CONFIGURATION="test_namestore_api.conf" | 2 | CONFIGURATION="test_namestore_api.conf" |
3 | trap "gnunet-arm -e -c $CONFIGURATION" SIGINT | 3 | trap "gnunet-arm -e -c $CONFIGURATION" SIGINT |
4 | rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o SERVICEHOME` | 4 | rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME` |
5 | TEST_IP_PLUS="127.0.0.1" | 5 | TEST_IP_PLUS="127.0.0.1" |
6 | TEST_RECORD_NAME_DNS="www3" | 6 | TEST_RECORD_NAME_DNS="www3" |
7 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | 7 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" |
@@ -9,7 +9,7 @@ which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | |||
9 | function start_peer | 9 | function start_peer |
10 | { | 10 | { |
11 | gnunet-arm -s -c $CONFIGURATION | 11 | gnunet-arm -s -c $CONFIGURATION |
12 | gnunet-identity -C testego -c $CONFIGURATION | 12 | gnunet-identity -C testego -c $CONFIGURATION |
13 | } | 13 | } |
14 | 14 | ||
15 | function stop_peer | 15 | function stop_peer |
@@ -38,7 +38,7 @@ for LINE in $OUTPUT ; | |||
38 | if echo "$LINE" | grep -q "$TEST_IP_PLUS"; then | 38 | if echo "$LINE" | grep -q "$TEST_IP_PLUS"; then |
39 | FOUND_IP=true; | 39 | FOUND_IP=true; |
40 | #echo $FOUND_IP | 40 | #echo $FOUND_IP |
41 | fi | 41 | fi |
42 | done | 42 | done |
43 | stop_peer | 43 | stop_peer |
44 | 44 | ||