OS: Mac OS X 10.13.6
Bash version: GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin17.5.0)
bashdb 4.4-0.94
bashdb: cannot read program to debug: /Users/dcooper/Downloads/bashdb-4.4-0.94/test/example/bug-set-e.sh.
--- /Users/dcooper/Downloads/bashdb-4.4-0.94/test/integration/bug-set-e.check 2018-08-10 10:40:36.000000000 -0500
+++ /Users/dcooper/Downloads/bashdb-4.4-0.94/test/data/bug-set-e.right 2017-07-31 23:43:16.000000000 -0500
@@ -1 +1,18 @@
-INVESTIGATE EXIT FAILURE: [1 => exit (1)]
+(bug-set-e.sh:2):
+2: x=1
++# Debugger test to see that set -e is respected and we can step through it
++step
+(bug-set-e.sh:4):
+4: set -e
++step
+(bug-set-e.sh:6):
+6: echo hi
++step
+hi
+(bug-set-e.sh:7):
+7: (( 1 / 0))
++step
+(bug-set-e.sh:1):
+1: #!/bin/bash
++quit
+bashdb: That's all, folks...
FAIL test-bug-set-e (exit status: 1)
Any thoughts on this? I have a very large project to do, and would like to be able to debug. Thoughts are apprecaited.
Sorry, I totally misunderstood that. This is the integration test output, I get same error in "make check".
Last edit: Michał Rogaliński 2018-08-27
Looks like file is missing from #94 build package:
test/example/bug-set-e.sh
After taking the file from master branch, test passes. "make check" is not needed to install bashdb.
There's more than just one file missing in bashdb-4.4.1.0.0 release tarball:
Not sure if the sig-* files are required but with these files added we get full test coverage in Gentoo:
I have changed the various Makefile.am's to include into the tarball:
test/data/Makefile.am
+ sig-44.cmd \ + sig-bug.cmd \
test/example/Makefile.am
+ bug-set-e.sh \ + sig-bug.sh \
test/integration/Makefile.am
+ test-bug-set-e \
However right now I can't push to sourceforge. I've opened an issue
regarding this:
https://sourceforge.net/p/forge/site-support/18731/
On Wed, Nov 14, 2018 at 5:00 PM Whissi whissi@users.sourceforge.net wrote:
Related
Bugs:
#52Also, Make can't deal with filenames with spaces in them. I have tried
escaping the blank and although that is alleged to work
https://www.cmcrossroads.com/article/gnu-make-meets-file-names-spaces-them
it didn't when I put this inside a Makefile variable.
There is probably some way to work around Makefile.am or post hook thing to
append to the tarball, but I'll leave that for someone else to figure out
how to do.
On Wed, Nov 14, 2018 at 6:01 PM Rocky Bernstein rocky.bernstein@gmail.com
wrote:
Related
Bugs:
#52Was able to push to sourceforge this morning. Attached is a tarball made from the recent changes. If that is suitable, I will push it as a release.
Looks good aside test-file-with-spaces:
But just to be sure: I hope whatever you are going to release will be > 4.4-1.0.0 ...
Sure, we'll go with our first 1.0.0 release. Probably will do over the
upcoming weekend.
On Thu, Nov 15, 2018 at 9:55 AM Whissi whissi@users.sourceforge.net wrote:
Related
Bugs:
#52Just to be sure that I understand and we are talking abou the same. It looks like you created a not yet published "4.4-0.95" tag for the test attachment but there is already a published release-4.4-1.0.0 tag (https://sourceforge.net/p/bashdb/code/ref/master/tags/). So when you are going to release something new over the upcoming weekend please make sure to release "4.4-1.0.1" for example. :)
Ok. 1.0.1 then.
On Thu, Nov 15, 2018 at 11:13 AM Whissi whissi@users.sourceforge.net
wrote:
Related
Bugs:
#52