![justinbastress](/assets/img/avatar_default.png)
* Fix typo * Actually call init per sender for each goroutine * split out TLS handling * Rename tls_handshake; update docs * fix comments * format fixes * merge updates * fix path * refactor heartbleed logging (now the same as original zgrab) * add ScanStatus, update modules to return it * fix threaded for loop; fix styling of dict literal * fix compile errors, note un-bubbled handshake error * initial schema commit * fix comment * schema cleanup * comments * fix TODOs * first attempt at docker integration in travis; also add schema validation * add integration_tests.sh * need sudo? * try pip install --user * revert regression * add docker service again * chmod +x integration_tests.sh * fix path of binary * Dump output file to stdout * travis work * use jp's build-self-contained script * use go get/go build to get jp * fix jp path * switch from bogus regex to wildcard * do all mysql versions; fix version comparison * re-enable notifications; fix successful version check log message; comment TryGetScanStatus * move to conf.d layout for integration tests * update README * add missing scripts * add ./ to path
24 lines
610 B
Bash
Executable File
24 lines
610 B
Bash
Executable File
#!/bin/bash +e
|
|
|
|
# Clean up after running the integration tests.
|
|
# Drop your cleanup script(s) in integration_tests/<protocol>/cleanup(.*).sh
|
|
|
|
echo "Cleaning up integration tests..."
|
|
|
|
pushd integration_tests
|
|
for mod in $(ls); do
|
|
if [ -d "$mod" ]; then
|
|
pushd $mod
|
|
for cleanup in $(ls cleanup*.sh); do
|
|
echo "Cleaning up $mod (integration_tests/$mod/$cleanup)..."
|
|
if ! ./$cleanup; then
|
|
echo "Warning: cleanup for $mod/$cleanup failed with exit code $?"
|
|
fi
|
|
done
|
|
popd
|
|
fi
|
|
done
|
|
popd
|
|
|
|
echo "Integration test cleanup finished."
|