diff options
author | ng0 <ng0@n0.is> | 2019-03-09 12:10:10 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-03-09 12:10:10 +0000 |
commit | 5f7119d93f6868a2e21d23b3df066fb43489b9da (patch) | |
tree | b4ed68dfb450563997afd81a2b8e615c8ff63c80 /src/credential/test_credential_verify_simple.sh | |
parent | 81f6aa39f603bb9a176bdc901566856c4dde8790 (diff) | |
download | gnunet-5f7119d93f6868a2e21d23b3df066fb43489b9da.tar.gz gnunet-5f7119d93f6868a2e21d23b3df066fb43489b9da.zip |
bashism
Diffstat (limited to 'src/credential/test_credential_verify_simple.sh')
-rwxr-xr-x | src/credential/test_credential_verify_simple.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/credential/test_credential_verify_simple.sh b/src/credential/test_credential_verify_simple.sh index bcb3f9877..41afb47b0 100755 --- a/src/credential/test_credential_verify_simple.sh +++ b/src/credential/test_credential_verify_simple.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/sh |
2 | trap "gnunet-arm -e -c test_credential_lookup.conf" SIGINT | 2 | trap "gnunet-arm -e -c test_credential_lookup.conf" SIGINT |
3 | 3 | ||
4 | LOCATION=$(which gnunet-config) | 4 | LOCATION=$(which gnunet-config) |
@@ -18,7 +18,7 @@ rm -rf `gnunet-config -c test_credential_lookup.conf -s PATHS -o GNUNET_HOME -f` | |||
18 | # (3) Isser.user -> Subject | 18 | # (3) Isser.user -> Subject |
19 | 19 | ||
20 | 20 | ||
21 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" | 21 | which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 30" |
22 | gnunet-arm -s -c test_credential_lookup.conf | 22 | gnunet-arm -s -c test_credential_lookup.conf |
23 | gnunet-identity -C testissuer -c test_credential_lookup.conf | 23 | gnunet-identity -C testissuer -c test_credential_lookup.conf |
24 | gnunet-identity -C testsubject -c test_credential_lookup.conf | 24 | gnunet-identity -C testsubject -c test_credential_lookup.conf |