AutolabJS/AutolabJS

View on GitHub
tests/deployment_tests/helper_scripts/container/restart_script_check.sh

Summary

Maintainability
Test Coverage
#!/bin/bash
############
# Authors: Ankshit Jain
# Purpose: This script verifies the presence of container restart script at the
#          right location.
# Date: 15-Feb-2018
# Previous Versions: None
# Invocation: $ bash restart_script_check.sh
###########
if [ -f /root/autolabjs-restart.sh ]
then
    exit 0
else
    exit 1
fi