diff options
Diffstat (limited to 'src/reclaim/test_reclaim_revoke.sh')
-rwxr-xr-x | src/reclaim/test_reclaim_revoke.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/reclaim/test_reclaim_revoke.sh b/src/reclaim/test_reclaim_revoke.sh index ffbc7ef2b..da091a1ee 100755 --- a/src/reclaim/test_reclaim_revoke.sh +++ b/src/reclaim/test_reclaim_revoke.sh | |||
@@ -20,10 +20,10 @@ rm -rf `gnunet-config -c test_reclaim.conf -s PATHS -o GNUNET_HOME -f` | |||
20 | # (3) PKEY3.user -> PKEY4 | 20 | # (3) PKEY3.user -> PKEY4 |
21 | 21 | ||
22 | 22 | ||
23 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" | 23 | which timeout >/dev/null 2&>1 && DO_TIMEOUT="timeout 30" |
24 | 24 | ||
25 | TEST_ATTR="test" | 25 | TEST_ATTR="test" |
26 | gnunet-arm -s -c test_reclaim.conf 2&>1 > /dev/null | 26 | gnunet-arm -s -c test_reclaim.conf >/dev/null 2&>1 |
27 | gnunet-identity -C alice -c test_reclaim.conf | 27 | gnunet-identity -C alice -c test_reclaim.conf |
28 | gnunet-identity -C bob -c test_reclaim.conf | 28 | gnunet-identity -C bob -c test_reclaim.conf |
29 | gnunet-identity -C eve -c test_reclaim.conf | 29 | gnunet-identity -C eve -c test_reclaim.conf |
@@ -43,7 +43,7 @@ sleep 16 | |||
43 | echo "Consuming $TICKET" | 43 | echo "Consuming $TICKET" |
44 | 44 | ||
45 | gnunet-reclaim -e eve -C $TICKET_EVE -c test_reclaim.conf | 45 | gnunet-reclaim -e eve -C $TICKET_EVE -c test_reclaim.conf |
46 | if test $? == 0 | 46 | if test $? = 0 |
47 | then | 47 | then |
48 | echo "Eve can still resolve attributes..." | 48 | echo "Eve can still resolve attributes..." |
49 | gnunet-arm -e -c test_reclaim.conf | 49 | gnunet-arm -e -c test_reclaim.conf |
@@ -51,10 +51,10 @@ then | |||
51 | fi | 51 | fi |
52 | 52 | ||
53 | gnunet-arm -e -c test_reclaim.conf | 53 | gnunet-arm -e -c test_reclaim.conf |
54 | gnunet-arm -s -c test_reclaim.conf 2&>1 > /dev/null | 54 | gnunet-arm -s -c test_reclaim.conf >/dev/null 2&>1 |
55 | 55 | ||
56 | gnunet-reclaim -e bob -C $TICKET_BOB -c test_reclaim.conf | 56 | gnunet-reclaim -e bob -C $TICKET_BOB -c test_reclaim.conf |
57 | #gnunet-reclaim -e bob -C $TICKET_BOB -c test_reclaim.conf 2&>1 >/dev/null | 57 | #gnunet-reclaim -e bob -C $TICKET_BOB -c test_reclaim.conf >/dev/null 2&>1 |
58 | if test $? != 0 | 58 | if test $? != 0 |
59 | then | 59 | then |
60 | echo "Bob cannot resolve attributes..." | 60 | echo "Bob cannot resolve attributes..." |