aboutsummaryrefslogtreecommitdiff
path: root/src/identity-provider/test_idp.sh
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-08-09 10:23:29 +0200
committerPhil <phil.buschmann@tum.de>2018-08-09 10:23:29 +0200
commite083dd6ae0b96f30328d0d54bc7a55f6cd34b2b4 (patch)
tree8c993110fb5958c30f41f40794bd75941a42aca0 /src/identity-provider/test_idp.sh
parentcffad0ad30400dda7c7c4ef77ed7625013193dbe (diff)
parentb3932f39b028d5db0d2e641e8593679c657b6bd1 (diff)
downloadgnunet-e083dd6ae0b96f30328d0d54bc7a55f6cd34b2b4.tar.gz
gnunet-e083dd6ae0b96f30328d0d54bc7a55f6cd34b2b4.zip
-Merge branch 'master' into gsoc2018/rest_api
Diffstat (limited to 'src/identity-provider/test_idp.sh')
-rwxr-xr-xsrc/identity-provider/test_idp.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/identity-provider/test_idp.sh b/src/identity-provider/test_idp.sh
deleted file mode 100755
index 598d1008c..000000000
--- a/src/identity-provider/test_idp.sh
+++ /dev/null
@@ -1,31 +0,0 @@
1#!/bin/bash
2#trap "gnunet-arm -e -c test_idp_lookup.conf" SIGINT
3
4LOCATION=$(which gnunet-config)
5if [ -z $LOCATION ]
6then
7 LOCATION="gnunet-config"
8fi
9$LOCATION --version 1> /dev/null
10if test $? != 0
11then
12 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
13 exit 77
14fi
15
16rm -rf `gnunet-config -c test_idp.conf -s PATHS -o GNUNET_HOME -f`
17
18# (1) PKEY1.user -> PKEY2.resu.user
19# (2) PKEY2.resu -> PKEY3
20# (3) PKEY3.user -> PKEY4
21
22
23which timeout &> /dev/null && DO_TIMEOUT="timeout 30"
24
25TEST_ATTR="test"
26gnunet-arm -s -c test_idp.conf
27gnunet-identity -C testego -c test_idp.conf
28valgrind gnunet-idp -e testego -a email -V john@doe.gnu -c test_idp.conf
29gnunet-idp -e testego -a name -V John -c test_idp.conf
30gnunet-idp -e testego -D -c test_idp.conf
31gnunet-arm -e -c test_idp.conf