aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-28 10:38:38 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-28 10:38:38 +0000
commitca079d6ac476568a39c7c76bed85f9dc82f6672e (patch)
tree57914fc51a8c02526863cbff9be894d6691c2e71
parent2d4aebfa4622cdf0d36172bcdd73a5b78a43bf0c (diff)
downloadgnunet-ca079d6ac476568a39c7c76bed85f9dc82f6672e.tar.gz
gnunet-ca079d6ac476568a39c7c76bed85f9dc82f6672e.zip
check for cli tools
-rwxr-xr-xsrc/revocation/test_local_revocation.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/revocation/test_local_revocation.sh b/src/revocation/test_local_revocation.sh
index 309975429..8595c8df2 100755
--- a/src/revocation/test_local_revocation.sh
+++ b/src/revocation/test_local_revocation.sh
@@ -5,6 +5,13 @@ TEST_REVOCATION_EGO="revoc_test"
5which timeout &> /dev/null && DO_TIMEOUT="timeout 5" 5which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
6trap "gnunet-arm -e -c test_revocation.conf" SIGINT 6trap "gnunet-arm -e -c test_revocation.conf" SIGINT
7 7
8LOCATION=$(which gnunet-config)
9if [ -z $LOCATION ]
10then
11 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
12 exit 1
13fi
14
8# clean up 15# clean up
9rm -rf `gnunet-config -c test_revocation.conf -s PATHS -o GNUNET_HOME -f` 16rm -rf `gnunet-config -c test_revocation.conf -s PATHS -o GNUNET_HOME -f`
10 17