Skip to content
Snippets Groups Projects
Commit 90761f66 authored by Henrik Henriksson's avatar Henrik Henriksson
Browse files

Add comments to test suite

parent f755b035
No related branches found
No related tags found
No related merge requests found
Pipeline #16130 failed
#!/bin/bash
# Ensure proper exit code
# Please don't write a test suite like this...
# Ensure proper exit code
./hello || ( echo "Bad return code" && exit 1 )
# Ensure proper output
[ "$(./hello)" = "Hello World!" ] || ( echo "Wrong printout!: $(./hello)" && exit 1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment