1 2 3 4 5 6
#!/usr/bin/env bash result="$($PIK defaults)" if [[ ! "$result" == *"banana"* ]] ; then echo "expected banana" >&2 exit 1 fi