aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_rel_expiration.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-18 12:01:22 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-18 12:01:22 +0000
commitc548217103fd9a463b3cc38774324edbb136d2c7 (patch)
treefc2575eb414731ef8549b5cd6c45c9339267268a /src/gns/test_gns_rel_expiration.sh
parentba7d316cff500d0bffee07994f970b80f811d089 (diff)
downloadgnunet-c548217103fd9a463b3cc38774324edbb136d2c7.tar.gz
gnunet-c548217103fd9a463b3cc38774324edbb136d2c7.zip
-better sleep pattern
Diffstat (limited to 'src/gns/test_gns_rel_expiration.sh')
-rwxr-xr-xsrc/gns/test_gns_rel_expiration.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gns/test_gns_rel_expiration.sh b/src/gns/test_gns_rel_expiration.sh
index 099410c3e..3b2859be1 100755
--- a/src/gns/test_gns_rel_expiration.sh
+++ b/src/gns/test_gns_rel_expiration.sh
@@ -8,12 +8,13 @@ gnunet-identity -C testego -c test_gns_lookup.conf
8gnunet-identity -C delegatedego -c test_gns_lookup.conf 8gnunet-identity -C delegatedego -c test_gns_lookup.conf
9DELEGATED_PKEY=$(gnunet-identity -d -c test_gns_lookup.conf | grep delegatedego | awk '{print $3}') 9DELEGATED_PKEY=$(gnunet-identity -d -c test_gns_lookup.conf | grep delegatedego | awk '{print $3}')
10gnunet-namestore -p -z testego -a -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf 10gnunet-namestore -p -z testego -a -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf
11gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e '2 s' -c test_gns_lookup.conf 11gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e '5 s' -c test_gns_lookup.conf
12gnunet-arm -i gns -c test_gns_lookup.conf 12gnunet-arm -i gns -c test_gns_lookup.conf
13sleep 4 13sleep 2
14gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e '2 s' -c test_gns_lookup.conf 14gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e '5 s' -c test_gns_lookup.conf
15sleep 1
15RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` 16RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf`
16sleep 4 17sleep 6
17RES_IP_EXP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` 18RES_IP_EXP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf`
18gnunet-namestore -z testego -d -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf 19gnunet-namestore -z testego -d -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf
19gnunet-identity -D testego -c test_gns_lookup.conf 20gnunet-identity -D testego -c test_gns_lookup.conf