Skip to content

Conversation

@JWZepf
Copy link

@JWZepf JWZepf commented Feb 14, 2017

Added the script to be put into each VM to test Bareflank. Script located in hypervisor/tools/tests/BFTest.sh

@@ -0,0 +1,89 @@
check_status()
Copy link
Member

@rianquinn rianquinn Feb 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't look like this function is used. Also, you need to put the copyright header in place, and make sure that it starts with #!/bin/bash -e

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check_status is used after every command. It essentially does what the -e flag on the bash shebang does, but it prints out a statement to the serial log file that the Jenkins script is looking for. If I just did the -e flag, the Jenkins script would stall out if there was an error in a command. I added the copyright header and the shebang to the top of the script.

@rianquinn
Copy link
Member

Looks great. I will merge once the tests pass

@rianquinn rianquinn merged commit e80644d into Bareflank:master Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants