Skip to content

Commit c1edc08

Browse files
rajvarun77claude
andcommitted
test(mysql): drop run_tests.sh mysql/ subdir entry after move
The mysql unittests now live in test/ and match the existing brpc*unittest glob in run_tests.sh, so revert the script to master. The removed mysql/brpc*unittest entry needed `shopt -s nullglob` to skip a missing subdir, but CI runs the script under `sh` (dash), where shopt is absent; nullglob stayed off and the now-empty glob was executed as a literal path, exiting 127. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b6aedc9 commit c1edc08

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/run_tests.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ rm core.*
2222
test_num=0
2323
failed_test=""
2424
rc=0
25-
# nullglob so mysql/brpc*unittest expands to nothing (not a literal bogus
26-
# binary name) when that subdir was not built.
27-
shopt -s nullglob
28-
test_bins="test_butil test_bvar bthread*unittest brpc*unittest mysql/brpc*unittest"
25+
test_bins="test_butil test_bvar bthread*unittest brpc*unittest"
2926
for test_bin in $test_bins; do
3027
test_num=$((test_num + 1))
3128
>&2 echo "[runtest] $test_bin"

0 commit comments

Comments
 (0)