Browse Source

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>
Heiko Carstens 10 years ago
parent
commit
52100d7f1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/testing/selftests/ftrace/ftracetest

+ 1 - 1
tools/testing/selftests/ftrace/ftracetest

@@ -37,7 +37,7 @@ abspath() {
 }
 }
 
 
 find_testcases() { #directory
 find_testcases() { #directory
-  echo `find $1 -name \*.tc`
+  echo `find $1 -name \*.tc | sort`
 }
 }
 
 
 parse_opts() { # opts
 parse_opts() { # opts