Something to do with the latest patches ?
--- /data/projects/bashdb-5.1/test/integration/parm.check
+++ /data/projects/bashdb-5.1/test/data/parm.right
@@ -116,7 +116,7 @@
(parm.sh:29):
29: exit 0
+ev echo "eval says exit was $?"
-eval says exit was 0
+eval says exit was 5
$? is 0
+pr "print says exit was $?"
print says exit was 5
+ return 1
+ return 1
the side effect is coming from this line in command/eval.sh :
builtin echo "BASH_ARGV0=\"$_Dbg_dollar_0\"" >> "$_Dbg_evalfile"
if I place this line where it was : parm test is OK but the expression will not be evaluated.
if I remove this line : parm test is OK
With this patch, make check (PASS: test-parm) and the regular expressions are correctly evaluated.
Last edit: Roland Christmann 2021-07-12
Should be in commit 9a0bf97 now.