tenseleyflow/bensch / 2f3c381

Browse files

fix builtin runner: search portable/ and extended/ subdirectories

The runner was globbing test_*.sh in its own directory but tests
are now organized in portable/ and extended/ subdirectories.
Authored by espadonne
SHA
2f3c3819ad013e0c18d73619f55170874cdd4450
Parents
afa9ecd
Tree
ac78a7e

1 changed file

StatusFile+-
M suites/builtins/run_builtin_tests.sh 1 1
suites/builtins/run_builtin_tests.shmodified
@@ -61,7 +61,7 @@ SUITES_PASSED=0
6161
 SUITES_FAILED=0
6262
 FAILED_SUITES=""
6363
 
64
-for test_file in "$SCRIPT_DIR"/test_*.sh; do
64
+for test_file in $(find "$SCRIPT_DIR/portable" "$SCRIPT_DIR/extended" -name "test_*.sh" -not -name "test_harness.sh" 2>/dev/null | sort); do
6565
     [ ! -x "$test_file" ] && continue
6666
     suite_name=$(basename "$test_file")
6767
     # Skip the shared harness