-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the run_demo script to add background mode and usage info #423
Update the run_demo script to add background mode and usage info #423
Conversation
Signed-off-by: Stephen Curran <[email protected]>
demo/run_demo
Outdated
@@ -46,6 +50,38 @@ do | |||
echo "For example, to create the directory and then set the permissions use: 'mkdir ../logs; chmod uga+rws ../logs'" | |||
exit 1 | |||
fi | |||
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding continue here means that the argument gets stripped off, which I don't think is intended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - wasn't sure about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that --timing works.
demo/run_demo
Outdated
--bg) | ||
if [[ "${AGENT}" == "alice" ]] || [[ "${AGENT}" == "faber" ]] || [[ "${AGENT}" == "acme" ]]; then | ||
DOCKER_OPTS="-d" | ||
echo -e "\nRunning in ${AGENT} in the background. Note that you cannot use the comand line console in this mode." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*command :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Signed-off-by: Stephen Curran <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #423 +/- ##
======================================
Coverage 88.1% 88.1%
======================================
Files 245 245
Lines 11993 11993
======================================
Hits 10566 10566
Misses 1427 1427 |
No description provided.