aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/test_reclaim_revoke.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/test_reclaim_revoke.sh')
-rwxr-xr-xsrc/reclaim/test_reclaim_revoke.sh10
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
23which timeout &> /dev/null && DO_TIMEOUT="timeout 30" 23which timeout >/dev/null 2&>1 && DO_TIMEOUT="timeout 30"
24 24
25TEST_ATTR="test" 25TEST_ATTR="test"
26gnunet-arm -s -c test_reclaim.conf 2&>1 > /dev/null 26gnunet-arm -s -c test_reclaim.conf >/dev/null 2&>1
27gnunet-identity -C alice -c test_reclaim.conf 27gnunet-identity -C alice -c test_reclaim.conf
28gnunet-identity -C bob -c test_reclaim.conf 28gnunet-identity -C bob -c test_reclaim.conf
29gnunet-identity -C eve -c test_reclaim.conf 29gnunet-identity -C eve -c test_reclaim.conf
@@ -43,7 +43,7 @@ sleep 16
43echo "Consuming $TICKET" 43echo "Consuming $TICKET"
44 44
45gnunet-reclaim -e eve -C $TICKET_EVE -c test_reclaim.conf 45gnunet-reclaim -e eve -C $TICKET_EVE -c test_reclaim.conf
46if test $? == 0 46if test $? = 0
47then 47then
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
51fi 51fi
52 52
53gnunet-arm -e -c test_reclaim.conf 53gnunet-arm -e -c test_reclaim.conf
54gnunet-arm -s -c test_reclaim.conf 2&>1 > /dev/null 54gnunet-arm -s -c test_reclaim.conf >/dev/null 2&>1
55 55
56gnunet-reclaim -e bob -C $TICKET_BOB -c test_reclaim.conf 56gnunet-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
58if test $? != 0 58if test $? != 0
59then 59then
60 echo "Bob cannot resolve attributes..." 60 echo "Bob cannot resolve attributes..."