[LTP] [PATCH] sort the open posix tests before executing

Vineet Gupta Vineet.Gupta1@synopsys.com
Tue Mar 8 06:32:04 CET 2016


Helps do a simple diff of output logs !

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh b/testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh
index 0477bd7059bc..7cf2b09a47d2 100755
--- a/testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh
+++ b/testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh
@@ -22,7 +22,7 @@ EOF
 
 run_option_group_tests()
 {
-	for test_script in $(find $1 -name run.sh); do
+	for test_script in $(find $1 -name run.sh | sort); do
 		(cd "$(dirname "$test_script")" && ./$(basename "$test_script"))
 	done
 }
-- 
2.5.0



More information about the ltp mailing list