[PATCH] sort the open posix tests before executing

Vineet Gupta Vineet.Gupta1 at synopsys.com
Mon Mar 7 21:32:04 PST 2016


Helps do a simple diff of output logs !

Signed-off-by: Vineet Gupta <vgupta at 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 linux-snps-arc mailing list