0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-27 15:06:34 +01:00
mongodb/evergreen/sasl_windows_cyrussasl_teardown.sh
Adam Rayner f31a55b83d SERVER-90184 Only load included SASL plugins on Windows
GitOrigin-RevId: a6c0787658de3b23a00da7750c660f79c6cd8d1b
2024-05-04 01:36:44 +00:00

19 lines
496 B
Bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
if [ "${task_name}" != "sasl_windows_cyrussasl" ]; then
exit 0
fi
echo "Cleaning up Windows CyrusSASL Test Artifacts"
readonly k_cyrussasl_default_dir_root="/cygdrive/c/CMU"
if [[ ! -d "$k_cyrussasl_default_dir_root" ]]; then
echo "Could not find $k_cyrussasl_default_dir_root to cleanup..."
exit 0
fi
rm -rf "$k_cyrussasl_default_dir_root"
echo "Deleted $k_cyrussasl_default_dir_root from host"