Menu

#78 test-get-sourceline.sh fail on WSL2 Ubuntu 24.04

v1.0_(example)
closed
nobody
None
5
6 days ago
6 days ago
Larry Corsa
No

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)

Discussion

  • Rocky Bernstein

    Rocky Bernstein - 6 days ago

    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.

     
  • Larry Corsa

    Larry Corsa - 6 days ago

    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

     
  • Rocky Bernstein

    Rocky Bernstein - 6 days ago
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.