summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-10-20 12:52:03 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-11-03 14:15:47 -0500
commit52100d7f1c35e5b8c4f3017d36f378372f67f87d (patch)
tree17c7edce7a451f8b371804cd6adfebb4bb72529a /tools/testing
parentd20058f67405981a81344e6fec93f6f557fb96a2 (diff)
downloadlinux-stable-52100d7f1c35e5b8c4f3017d36f378372f67f87d.tar.gz
linux-stable-52100d7f1c35e5b8c4f3017d36f378372f67f87d.tar.bz2
linux-stable-52100d7f1c35e5b8c4f3017d36f378372f67f87d.zip
ftracetest: Sort testcases
Make sure the order of the executed testcases is always the same. Link: http://lkml.kernel.org/p/1413802323-5297-3-git-send-email-heiko.carstens@de.ibm.com Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-xtools/testing/selftests/ftrace/ftracetest2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest
index 515247601df4..f15c0da07aca 100755
--- a/tools/testing/selftests/ftrace/ftracetest
+++ b/tools/testing/selftests/ftrace/ftracetest
@@ -37,7 +37,7 @@ abspath() {
}
find_testcases() { #directory
- echo `find $1 -name \*.tc`
+ echo `find $1 -name \*.tc | sort`
}
parse_opts() { # opts