summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ftrace/samples/fail.tc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/ftrace/samples/fail.tc')
-rw-r--r--tools/testing/selftests/ftrace/samples/fail.tc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/samples/fail.tc b/tools/testing/selftests/ftrace/samples/fail.tc
new file mode 100644
index 000000000000..15e35b956e05
--- /dev/null
+++ b/tools/testing/selftests/ftrace/samples/fail.tc
@@ -0,0 +1,4 @@
+#!/bin/sh
+# description: failure-case example
+cat non-exist-file
+echo "this is not executed"