linux/tools/testing/selftests/ftrace/samples/fail.tc

#!/bin/sh
# description: failure-case example
cat non-exist-file
echo "this is not executed"