Failed unit test "test-get-sourceline.sh" building on WSL2 Ubuntu 24.04.
================================================
bashdb 5.2-1.2.0: test/unit/test-suite.log
================================================
# TOTAL: 25
# PASS: 24
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-get-sourceline.sh
============================
test_get_source_line
test_get_source_line_with_spaces
ASSERT:expected:<x=1> but was:<>
test_get_source_line_with_spaces
ASSERT:expected:<x=1> but was:<>
Ran 3 tests. 3 assert(s): 1 passed, 2 failed, 0 skipped.
FAILED (failures=2)
FAIL test-get-sourceline.sh (exit status: 1)
Works for me on a real Ubuntu with bash 5.2 using the current github 5.2 branch on https://github.com/Trepan-Debuggers/bashdb
If you haven't tried using the latest on github, try that.
Cloned the repo above, and discovered there was no './configure' command in the new folder. Brute force copied everything from the cloned folder into the folder from the sourceforge tarball.
Re-ran ./configure, make, make check. Test for 'test-sig' was skipped (wsl I presume), everything else passed.
All seems well.
Thanks,
Larry