Commits

Doug Hellmann  committed 0db6911

run each test script in every shell before moving to the next script

  • Participants
  • Parent commits 5b6033a

Comments (0)

Files changed (1)

File tests/run_tests

 
 # Run the test scripts with a little formatting around them to make it
 # easier to find where each script output starts.
-for test_shell in bash ksh zsh
+for test_script in $scripts
 do
-    test_shell_opts=
-    if [ $test_shell = "zsh" ]; then
-        test_shell_opts="-o shwordsplit"
-    fi
-    test_shell=$(which $test_shell)
 
-    for test_script in $scripts
+    for test_shell in bash ksh zsh
     do
+	test_shell_opts=
+	if [ $test_shell = "zsh" ]; then
+            test_shell_opts="-o shwordsplit"
+	fi
+	export test_shell=$(which $test_shell)
+
         echo
         echo '********************************************************************************'
         echo "Running $test_script"