You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ BATS_LIB_PATH=/usr/lib/bats bats test/assert_output.bats
✗ assert_output() --regexp <regexp>: returns 1 and displays an error message if <regexp> is not a valid extended regular expression
(from function `assert_test_fail' in file test/test_helper.bash, line 28,
in test file test/assert_output.bats, line 257)
`assert_test_fail <<'ERR_MSG'' failed
Check the error message and find that one extra line is in output, it is from bash 5.3
Activity
gioele commentedon Sep 5, 2025
For the record, this is affecting Debian unstable/testing (that now uses Bash 5.3): https://bugs.debian.org/1114061.
martin-schulze-vireso commentedon Oct 11, 2025
Closed by #84 , fixed in v2.2.1 (just released).
dev-util/bats-assert: import 2.2.4 from ::guru, drop bash 5.3 sed
dev-util/bats-assert: import 2.2.4 from ::guru, drop bash 5.3 sed