diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-18 12:01:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-18 12:01:22 +0000 |
commit | c548217103fd9a463b3cc38774324edbb136d2c7 (patch) | |
tree | fc2575eb414731ef8549b5cd6c45c9339267268a /src/gns/test_gns_rel_expiration.sh | |
parent | ba7d316cff500d0bffee07994f970b80f811d089 (diff) | |
download | gnunet-c548217103fd9a463b3cc38774324edbb136d2c7.tar.gz gnunet-c548217103fd9a463b3cc38774324edbb136d2c7.zip |
-better sleep pattern
Diffstat (limited to 'src/gns/test_gns_rel_expiration.sh')
-rwxr-xr-x | src/gns/test_gns_rel_expiration.sh | 9 |
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 | |||
8 | gnunet-identity -C delegatedego -c test_gns_lookup.conf | 8 | gnunet-identity -C delegatedego -c test_gns_lookup.conf |
9 | DELEGATED_PKEY=$(gnunet-identity -d -c test_gns_lookup.conf | grep delegatedego | awk '{print $3}') | 9 | DELEGATED_PKEY=$(gnunet-identity -d -c test_gns_lookup.conf | grep delegatedego | awk '{print $3}') |
10 | gnunet-namestore -p -z testego -a -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf | 10 | gnunet-namestore -p -z testego -a -n b -t PKEY -V $DELEGATED_PKEY -e never -c test_gns_lookup.conf |
11 | gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e '2 s' -c test_gns_lookup.conf | 11 | gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e '5 s' -c test_gns_lookup.conf |
12 | gnunet-arm -i gns -c test_gns_lookup.conf | 12 | gnunet-arm -i gns -c test_gns_lookup.conf |
13 | sleep 4 | 13 | sleep 2 |
14 | gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e '2 s' -c test_gns_lookup.conf | 14 | gnunet-namestore -z delegatedego -d -n www -t A -V $TEST_IP -e '5 s' -c test_gns_lookup.conf |
15 | sleep 1 | ||
15 | RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` | 16 | RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` |
16 | sleep 4 | 17 | sleep 6 |
17 | RES_IP_EXP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` | 18 | RES_IP_EXP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.b.gnu -t A -c test_gns_lookup.conf` |
18 | 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 |
19 | gnunet-identity -D testego -c test_gns_lookup.conf | 20 | gnunet-identity -D testego -c test_gns_lookup.conf |