summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-28 14:31:55 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-28 14:31:55 +0000
commitcc972265917834276d78278f56718ee6ef6b86fa (patch)
treeee130d92565808be621dcf92bf1c33b670b408b8 /src
parente95037d07e246ebc028cdbd0d1deecb3d5c2e135 (diff)
separate from default and clean up
Diffstat (limited to 'src')
-rw-r--r--src/gns/test_gns_defaults.conf4
-rwxr-xr-xsrc/gns/test_gns_nick_shorten.sh2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gns/test_gns_defaults.conf b/src/gns/test_gns_defaults.conf
index b863fc98f..27024f783 100644
--- a/src/gns/test_gns_defaults.conf
+++ b/src/gns/test_gns_defaults.conf
@@ -4,6 +4,10 @@ GNUNET_TEST_HOME = /tmp/test-gnunet-gns-testing/
[namestore-sqlite]
FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db
+[identity]
+# Directory where we store information about our egos
+EGODIR = $GNUNET_TEST_HOME/identity/egos/
+
[dhtcache]
DATABASE = heap
diff --git a/src/gns/test_gns_nick_shorten.sh b/src/gns/test_gns_nick_shorten.sh
index 1664e8d5f..4e1d4cb60 100755
--- a/src/gns/test_gns_nick_shorten.sh
+++ b/src/gns/test_gns_nick_shorten.sh
@@ -72,6 +72,8 @@ gnunet-namestore -z testego -d -n mybestfriendalice -t PKEY -V $DELEGATED_PKEY
gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf
gnunet-arm -e -c test_gns_lookup.conf
+rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f`
+
if [ "$RES_IP" == "$TEST_IP" ]
then
echo "PASS: Resolved $TEST_NAME properly to $RES_IP."