Changeset 302965e in mod_gnutls
- Timestamp:
- Feb 4, 2015, 11:02:20 AM (8 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, proxy-ticket, upstream
- Children:
- 9a06bbd
- Parents:
- e78bc78
- git-author:
- Thomas Klute <thomas2.klute@…> (02/04/15 10:32:39)
- git-committer:
- Thomas Klute <thomas2.klute@…> (02/04/15 11:02:20)
- Location:
- test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/runtests
re78bc78 r302965e 37 37 printf "\nApache error logs:\n" 38 38 tail "../../logs/${TEST_NAME}.error.log" 39 stop_msva 39 if [ -n "${USE_MSVA}" ]; then 40 stop_msva 41 fi 40 42 } 41 43 … … 46 48 fi 47 49 48 GNUPGHOME=$(pwd)/msva.gnupghome MSVA_KEYSERVER_POLICY=never monkeysphere-validation-agent & 50 if [ -n "${USE_MSVA}" ]; then 51 GNUPGHOME=$(pwd)/msva.gnupghome MSVA_KEYSERVER_POLICY=never monkeysphere-validation-agent & 52 trap stop_msva EXIT 49 53 50 trap stop_msva EXIT 54 sleep "$TEST_GAP" 51 55 52 sleep "$TEST_GAP" 53 54 printf "TESTING: initial MSVA verification\n" 55 MONKEYSPHERE_VALIDATION_AGENT_SOCKET="http://127.0.0.1:$MSVA_PORT" msva-query-agent https "$(cat client.uid)" x509pem client < client/x509.pem 56 printf "\nSUCCESS: initial MSVA verification\n" 56 printf "TESTING: initial MSVA verification\n" 57 MONKEYSPHERE_VALIDATION_AGENT_SOCKET="http://127.0.0.1:$MSVA_PORT" msva-query-agent https "$(cat client.uid)" x509pem client < client/x509.pem 58 printf "\nSUCCESS: initial MSVA verification\n" 59 fi 57 60 58 61 for t in $tests; do … … 69 72 printf "TESTING: %s%s\n" "$TEST_NAME" "$EXPECTED_FAILURE" 70 73 trap apache_down_err EXIT 71 MONKEYSPHERE_VALIDATION_AGENT_SOCKET="http://127.0.0.1:$MSVA_PORT" /usr/sbin/apache2 -f "$(pwd)/apache.conf" -k start || [ -e fail.server ] 74 if [ -n "${USE_MSVA}" ]; then 75 MONKEYSPHERE_VALIDATION_AGENT_SOCKET="http://127.0.0.1:$MSVA_PORT" /usr/sbin/apache2 -f "$(pwd)/apache.conf" -k start || [ -e fail.server ] 76 else 77 /usr/sbin/apache2 -f "$(pwd)/apache.conf" -k start || [ -e fail.server ] 78 fi 72 79 73 80 if (sed "s/__HOSTNAME__/${TEST_HOST}/" < ./input && sleep "$TEST_QUERY_DELAY") | \ … … 88 95 fi 89 96 /usr/sbin/apache2 -f "$(pwd)/apache.conf" -k stop || [ -e fail.server ] 90 trap stop_msva EXIT 97 if [ -n "${USE_MSVA}" ]; then 98 trap stop_msva EXIT 99 else 100 trap - EXIT 101 fi 91 102 printf "SUCCESS: %s\n" "$TEST_NAME" 92 103 cd ../.. 93 104 done 94 105 95 stop_msva 106 if [ -n "${USE_MSVA}" ]; then 107 stop_msva 108 fi -
test/test-15_basic_msva.bash
re78bc78 r302965e 1 1 #!/bin/bash 2 make -f TestMakefile t-152 USE_MSVA="yes" make -f TestMakefile t-15
Note: See TracChangeset
for help on using the changeset viewer.