1 2 3 4 5 6 7 8 9 10
#!/bin/sh set -eu touch "$DATADIR/empty.yarn" # The grep below will fail unless the string exists, thereby failing the # entire test. ./yarn --log=/dev/stdout "$DATADIR/empty.yarn" | grep 'No scenario code blocks' > /dev/null