aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-14 14:50:16 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-14 14:50:16 +0000
commit576382564c21c546595f57eefc7e57b3e9fc523b (patch)
tree07d51633f8530dee74f15af936a0c9df416370d8 /src/gns
parente6ef137e2f3bcdbecfb0962e598182d7dc1fdc7f (diff)
downloadgnunet-576382564c21c546595f57eefc7e57b3e9fc523b.tar.gz
gnunet-576382564c21c546595f57eefc7e57b3e9fc523b.zip
delete remove namecache content
Diffstat (limited to 'src/gns')
-rwxr-xr-xsrc/gns/test_gns_nick_shorten.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gns/test_gns_nick_shorten.sh b/src/gns/test_gns_nick_shorten.sh
index 5811d59f5..3bc78e6b4 100755
--- a/src/gns/test_gns_nick_shorten.sh
+++ b/src/gns/test_gns_nick_shorten.sh
@@ -40,14 +40,19 @@ gnunet-namestore -p -z testego -a -n mybestfriendalice -t PKEY -V $DELEGATED_PKE
40 40
41# Delegate the name "short" to shortenzone 41# Delegate the name "short" to shortenzone
42gnunet-namestore -p -z testego -a -n short -t PKEY -V $SHORT -e never -c test_gns_lookup.conf 42gnunet-namestore -p -z testego -a -n short -t PKEY -V $SHORT -e never -c test_gns_lookup.conf
43 43# Adding label mail in ego's zone zone
44gnunet-namestore -p -z testego -a -n mail -t A -V $TEST_IP -e never -c test_gns_lookup.conf 44gnunet-namestore -p -z testego -a -n mail -t A -V $TEST_IP -e never -c test_gns_lookup.conf
45 45
46# Adding label www in Alice's delegatedego zone 46# Adding label www in Alice's delegatedego zone
47gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf 47gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf
48 48
49# Delete namecache content
50gnunet-arm -c test_gns_lookup.conf -k namecache
51rm -rf `gnunet-config -c test_gns_lookup.conf -s namecache-sqlite -o FILENAME`
52
49# Force start of GNS 53# Force start of GNS
50gnunet-arm -c test_gns_lookup.conf -i gns 54gnunet-arm -c test_gns_lookup.conf -i gns
55
51# need to sleep here, to give PSEU record chance to be copied to DHT 56# need to sleep here, to give PSEU record chance to be copied to DHT
52sleep 1 57sleep 1
53RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_NAME -t A -c test_gns_lookup.conf` 58RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_NAME -t A -c test_gns_lookup.conf`