diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2013-10-20 15:29:18 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2013-10-20 15:29:18 +0000 |
commit | 09f4417022e2bfa68751b8ec67347c4ad3a40034 (patch) | |
tree | 7bb7a59c63147619fc0b4cf2a7fe2c6bbcc4a308 /src | |
parent | 9a19c3c8e7599d29db8cb4806a567604adac6479 (diff) | |
download | gnunet-09f4417022e2bfa68751b8ec67347c4ad3a40034.tar.gz gnunet-09f4417022e2bfa68751b8ec67347c4ad3a40034.zip |
-clea namecache in test
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/test_gns_lookup.conf | 3 | ||||
-rwxr-xr-x | src/gns/test_gns_quickupdate.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gns/test_gns_lookup.conf b/src/gns/test_gns_lookup.conf index c4be10eb8..fae20fd27 100644 --- a/src/gns/test_gns_lookup.conf +++ b/src/gns/test_gns_lookup.conf | |||
@@ -21,5 +21,8 @@ RECORD_PUT_INTERVAL = 1 h | |||
21 | ZONE_PUBLISH_TIME_WINDOW = 1 h | 21 | ZONE_PUBLISH_TIME_WINDOW = 1 h |
22 | DNS_ROOT=6KT43HD94T0C7R43JSE1U5G982BOHT9RCENEV7HT1207APDBQIT5RLLK2LCSC0PL2ICNRFPPQ834TIVOKK421TP1T1NNUKG43OHKPV8 | 22 | DNS_ROOT=6KT43HD94T0C7R43JSE1U5G982BOHT9RCENEV7HT1207APDBQIT5RLLK2LCSC0PL2ICNRFPPQ834TIVOKK421TP1T1NNUKG43OHKPV8 |
23 | 23 | ||
24 | [namecache-sqlite] | ||
25 | FILENAME=/tmp/test-gnunet-gns-peer-1/namecache.db | ||
26 | |||
24 | [revocation] | 27 | [revocation] |
25 | WORKBITS = 1 | 28 | WORKBITS = 1 |
diff --git a/src/gns/test_gns_quickupdate.sh b/src/gns/test_gns_quickupdate.sh index 8539c1ac2..1e3411048 100755 --- a/src/gns/test_gns_quickupdate.sh +++ b/src/gns/test_gns_quickupdate.sh | |||
@@ -12,6 +12,9 @@ gnunet-namestore -p -z testego -a -n b -t PKEY -V $DELEGATED_PKEY -e never -c te | |||
12 | sleep 5 | 12 | sleep 5 |
13 | gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf | 13 | gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf |
14 | gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf | 14 | gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf |
15 | gnunet-arm -k namecache -c test_gns_lookup.conf | ||
16 | rm -r `gnunet-config -c test_gns_lookup.conf -s namecache-sqlite -o FILENAME` | ||
17 | gnunet-arm -i namecache -c test_gns_lookup.conf | ||
15 | RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` | 18 | RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` |
16 | gnunet-namestore -z testego -d -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf | 19 | gnunet-namestore -z testego -d -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf |
17 | gnunet-identity -D testego -c test_gns_lookup.conf | 20 | gnunet-identity -D testego -c test_gns_lookup.conf |