#!/usr/bin/env bash

##
# NOTE: This test is designed to run in bazel!
##

set -euox pipefail

TEST_COMMAND="scripts/vehicle/stop_bootstrap_logger.sh"

function test_successful_script() {
    remote_command(){
        echo ${@}; return 0;
    }

    if source ${TEST_COMMAND} > /dev/null; then
        echo " Script correctly exited normal execution."
    else
        echo " Script failed execution."
        exit 1
    fi
}

test_successful_script
