aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_lookup.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-16 12:36:12 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-16 12:36:12 +0000
commitf080aa1c08f0f7c4f958a6cd743ba1ba0436349a (patch)
tree87991388fdfed62ccc56273fdaa62859d88d85ba /src/namestore/test_namestore_lookup.sh
parent397bf97baec5f48708b3a20ce0d1a8bc027870df (diff)
downloadgnunet-f080aa1c08f0f7c4f958a6cd743ba1ba0436349a.tar.gz
gnunet-f080aa1c08f0f7c4f958a6cd743ba1ba0436349a.zip
-SERVICEHOME is now GNUNET_HOME
Diffstat (limited to 'src/namestore/test_namestore_lookup.sh')
-rwxr-xr-xsrc/namestore/test_namestore_lookup.sh6
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
2CONFIGURATION="test_namestore_api.conf" 2CONFIGURATION="test_namestore_api.conf"
3trap "gnunet-arm -e -c $CONFIGURATION" SIGINT 3trap "gnunet-arm -e -c $CONFIGURATION" SIGINT
4rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o SERVICEHOME` 4rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME`
5TEST_IP_PLUS="127.0.0.1" 5TEST_IP_PLUS="127.0.0.1"
6TEST_RECORD_NAME_DNS="www3" 6TEST_RECORD_NAME_DNS="www3"
7which timeout &> /dev/null && DO_TIMEOUT="timeout 5" 7which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
@@ -9,7 +9,7 @@ which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
9function start_peer 9function 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
15function stop_peer 15function 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
43stop_peer 43stop_peer
44 44