From: Steven Rostedt (VMware) <rost...@goodmis.org>

[ Upstream commit b43e78f65b1d35fd3e13c7b23f9b64ea83c9ad3a ]

As the ftrace selftests can run for a long period of time, disable the
timeout that the general selftests have. If a selftest hangs, then it
probably means the machine will hang too.

Link: 
https://lore.kernel.org/r/alpine.lsu.2.21.1911131604170.18...@pobox.suse.cz

Suggested-by: Miroslav Benes <mbe...@suse.cz>
Tested-by: Miroslav Benes <mbe...@suse.cz>
Reviewed-by: Miroslav Benes <mbe...@suse.cz>
Signed-off-by: Steven Rostedt (VMware) <rost...@goodmis.org>
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 tools/testing/selftests/ftrace/settings | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/ftrace/settings

diff --git a/tools/testing/selftests/ftrace/settings 
b/tools/testing/selftests/ftrace/settings
new file mode 100644
index 0000000000000..e7b9417537fbc
--- /dev/null
+++ b/tools/testing/selftests/ftrace/settings
@@ -0,0 +1 @@
+timeout=0
-- 
2.20.1



Reply via email to