path_to_trace2="${BT_CTF_TRACES_PATH}/succeed/succeed2"
output_path="/output/path"
-if [ "$BT_OS_TYPE" = "mingw" ]; then
+if [ "$BT_TESTS_OS_TYPE" = "mingw" ]; then
# Use Windows native paths for comparison because Unix
# paths are converted by the shell before they are passed
# to the native babeltrace2 binary.