Skip to content

Commit

Permalink
Update test_010_down.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Nov 8, 2023
1 parent 9d0b353 commit b786e00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Github Action (main)](https://github.com/cyber-dojo/commander/actions/workflows/main.yml/badge.svg)](https://github.com/cyber-dojo/commander/actions)

- The main [cyber-dojo](https://github.com/cyber-dojo/commander/blob/main/cyber-dojo) bash script to control a cyber-dojo server
- The [cyberdojo/commander](https://hub.docker.com/r/cyberdojo/commander/tags) Docker image which `cyber-dojo` delegates to.
- The [cyberdojo/commander](https://hub.docker.com/r/cyberdojo/commander/tags) Docker image which the `cyber-dojo` bash script delegates to.



Expand Down
5 changes: 3 additions & 2 deletions test/sh/test_010_down.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ test_____no_args_stops_and_removes_server_containers()
refuteStdoutIncludes 'variable is not set. Defaulting to a blank string.'
for service in custom_start_points exercises_start_points languages_start_points "${service_names[@]}"
do
assertStdoutIncludes "Container cyber_dojo_${service} Stopping"
assertStdoutIncludes "Container cyber_dojo_${service} Removing"
service_underscore="$(echo $service | tr '-' '_')"
assertStdoutIncludes "Container cyber_dojo_${service_underscore} Stopping"
assertStdoutIncludes "Container cyber_dojo_${service_underscore} Removing"
done
assertNoStderr

Expand Down

0 comments on commit b786e00

Please sign in to comment.