#!/bin/bash output=$(./mybinary) if [ "$output" == "Jello, World!" ]; then exit 0; else exit 1; fi