aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/namestore/test_namestore_delete.sh8
-rwxr-xr-xsrc/namestore/test_namestore_lookup.sh8
-rwxr-xr-xsrc/namestore/test_namestore_put.sh8
3 files changed, 24 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_delete.sh b/src/namestore/test_namestore_delete.sh
index 817697670..78f2cc03c 100755
--- a/src/namestore/test_namestore_delete.sh
+++ b/src/namestore/test_namestore_delete.sh
@@ -1,6 +1,14 @@
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
4
5LOCATION=$(which gnunet-config)
6if [ -z $LOCATION ]
7then
8 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
9 exit 1
10fi
11
4rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME` 12rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME`
5TEST_DOMAIN_PLUS="www.gnu" 13TEST_DOMAIN_PLUS="www.gnu"
6TEST_DOMAIN_DNS="www3.gnu" 14TEST_DOMAIN_DNS="www3.gnu"
diff --git a/src/namestore/test_namestore_lookup.sh b/src/namestore/test_namestore_lookup.sh
index c080fa961..5a8e076b4 100755
--- a/src/namestore/test_namestore_lookup.sh
+++ b/src/namestore/test_namestore_lookup.sh
@@ -1,6 +1,14 @@
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
4
5LOCATION=$(which gnunet-config)
6if [ -z $LOCATION ]
7then
8 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
9 exit 1
10fi
11
4rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME` 12rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME`
5TEST_IP_PLUS="127.0.0.1" 13TEST_IP_PLUS="127.0.0.1"
6TEST_RECORD_NAME_DNS="www3" 14TEST_RECORD_NAME_DNS="www3"
diff --git a/src/namestore/test_namestore_put.sh b/src/namestore/test_namestore_put.sh
index f5204dc35..bddefac49 100755
--- a/src/namestore/test_namestore_put.sh
+++ b/src/namestore/test_namestore_put.sh
@@ -1,6 +1,14 @@
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
4
5LOCATION=$(which gnunet-config)
6if [ -z $LOCATION ]
7then
8 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
9 exit 1
10fi
11
4rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME` 12rm -rf `gnunet-config -c $CONFIGURATION -s PATHS -o GNUNET_HOME`
5TEST_DOMAIN_PLUS="www.gnu" 13TEST_DOMAIN_PLUS="www.gnu"
6TEST_DOMAIN_DNS="www3.gnu" 14TEST_DOMAIN_DNS="www3.gnu"