|
From: Rocky B. <roc...@gm...> - 2010-03-31 15:49:36
|
That failure looks like a bug in the test routine. Probably if you copy
<bashdb-dir>/test/data/sig-Darwin.right to <bashdb-dir>/test/data/sig.right
I think that test will pass. (And even if not don't worry about the failure.
Some versions of bash == I think older ones -- don't update the line numbers
on a TERM signal properly. It would be helpful to know what version of bash
and what patchlevel you've got so I can code this into the test.
On Wed, Mar 31, 2010 at 10:03 AM, Klaus Sandner <sa...@ks...> wrote:
> I am looking for an explanation of my error received installing bashdb
> --with-bash-src.
> I want to use the bash debugger for ddd
>
> I hope my question is not lost.
> here is the list of the output during make check
>
> with regard
>
> Klaus
>
> Making check in builtin
> make[1]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/builtin'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/builtin'
> Making check in command
> make[1]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/command'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/command'
> Making check in lib
> make[1]: Betrete Verzeichnis '/home/sand/make_bashdb/bashdb-4.0-0.4/lib'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/lib'
> Making check in doc
> make[1]: Betrete Verzeichnis '/home/sand/make_bashdb/bashdb-4.0-0.4/doc'
> make[1]: Für das Ziel »check« ist nichts zu tun.
> make[1]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/doc'
> Making check in test
> make[1]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test'
> Making check in unit
> make[2]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/unit'
> make check-TESTS
> make[3]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/unit'
> test_set0
>
> Ran 1 test.
>
> OK
> PASS: test-set0.sh
> test_alias
>
> Ran 1 test.
>
> OK
> PASS: test-alias.sh
> test_breakpoint
>
> Ran 1 test.
>
> OK
> PASS: test-break.sh
> test_preserve_set_opts
> bash Shell Debugger, release 4.0-0.4
>
> Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009 Rocky Bernstein
> This is free software, covered by the GNU General Public License, and
> you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
>
> test-bashdb-trace.sh:
> '/home/sand/make_bashdb/bashdb-4.0-0.4/dbg-opts.sh' is not a directory.
> test-bashdb-trace.sh: Perhaps bashdb is installed wrong (if its
> installed).
> test-bashdb-trace.sh: Try running bashdb using -L (with a different
> directory).
> test-bashdb-trace.sh: Run bashdb --help for a list and explanation of
> options.
>
> Ran 1 test.
>
> OK
> PASS: test-bashdb-trace.sh
> test_columnized
>
> Ran 1 test.
>
> OK
> PASS: test-columns.sh
> test_glob_filename
> test_adjust_filename
> test_resolve_expand_filename
>
> Ran 3 tests.
>
> OK
> PASS: test-file.sh
> test_copies
> test_defined
> test_esc_dq
> test_is_function
> test_traced
> test_onoff
> test_parse_linespec
> test_set_debugger_internal
> test_set_q
> test_split
>
> Ran 10 tests.
>
> OK
> PASS: test-fns.sh
> test_print_frame
> test_frame_adjust
>
> Ran 2 tests.
>
> OK
> PASS: test-frame.sh
> test_progress_show
>
> Ran 1 test.
>
> OK
> PASS: test-io.sh
> test_msg
> test_undefined
>
> Ran 2 tests.
>
> OK
> PASS: test-msg.sh
> test_expand_filename
> test_do_show_version
>
> Ran 2 tests.
>
> OK
> PASS: test-pre.sh
> test_not_running
>
> Ran 1 test.
>
> OK
> PASS: test-run.sh
> test_sort
>
> Ran 1 test.
>
> OK
> PASS: test-sort.sh
> test_save_restore_IFS_PS4
>
> Ran 1 test.
>
> OK
> PASS: test-save-restore.sh
> ===================
> All 14 tests passed
> ===================
> make[3]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/unit'
> make[2]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/unit'
> Making check in data
> make[2]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/data'
> make action.cmd action.right brkpt1.cmd brkpt1.right brkpt2.cmd
> brkpt2.right brkpt3.cmd brkpt3.right bug-args.cmd bug-args.right
> bug-source.cmd bug-source.right bug-step.cmd bug-step.right
> bug-step-subshell.cmd bug-step-subshell.right bugI.cmd bugI.right
> bugIFS.cmd bugIFS.right command.cmd command.right complete.cmd
> complete.right continue.cmd debug.cmd debug.right debug2.cmd display.cmd
> display.right enable.cmd enable.right finish.cmd finish.right frame.cmd
> frame.right interrupt.right list.cmd list.right lopts.right
> misc-output.right misc-output-41.right misc.cmd misc.right multi1.cmd
> multi1.right multi2.cmd multi2.right multi3.cmd multi3.right multi4.cmd
> multi4.right parm.cmd parm.right prof1.cmd prof2.cmd quit.cmd
> restart.cmd restart.right restart2.cmd search.cmd search.right
> setshow.cmd setshow.right settrace.cmd settrace.right sig.cmd sig.right
> sig-41.right sig-Darwin.right skip.cmd skip.right sopts.right
> subshell1.cmd subshell1.right subshell2.cmd subshell2.right
> subshell3.cmd subshell3.right subshell4.cmd subshell4.right tbreak.cmd
> tbreak.right trace.right trace2.right watch1.cmd watch1.right watch2.cmd
> watch2.right
> make[3]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/data'
> make[3]: Für das Ziel »action.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »action.right« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt1.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt1.right« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt2.right« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt3.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt3.right« ist nichts zu tun.
> make[3]: Für das Ziel »bug-args.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »bug-args.right« ist nichts zu tun.
> make[3]: Für das Ziel »bug-source.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »bug-source.right« ist nichts zu tun.
> make[3]: Für das Ziel »bug-step.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »bug-step.right« ist nichts zu tun.
> make[3]: Für das Ziel »bug-step-subshell.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »bug-step-subshell.right« ist nichts zu tun.
> make[3]: Für das Ziel »bugI.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »bugI.right« ist nichts zu tun.
> make[3]: Für das Ziel »bugIFS.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »bugIFS.right« ist nichts zu tun.
> make[3]: Für das Ziel »command.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »command.right« ist nichts zu tun.
> make[3]: Für das Ziel »complete.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »complete.right« ist nichts zu tun.
> make[3]: Für das Ziel »continue.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »debug.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »debug.right« ist nichts zu tun.
> make[3]: Für das Ziel »debug2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »display.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »display.right« ist nichts zu tun.
> make[3]: Für das Ziel »enable.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »enable.right« ist nichts zu tun.
> make[3]: Für das Ziel »finish.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »finish.right« ist nichts zu tun.
> make[3]: Für das Ziel »frame.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »frame.right« ist nichts zu tun.
> make[3]: Für das Ziel »interrupt.right« ist nichts zu tun.
> make[3]: Für das Ziel »list.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »list.right« ist nichts zu tun.
> make[3]: Für das Ziel »lopts.right« ist nichts zu tun.
> make[3]: Für das Ziel »misc-output.right« ist nichts zu tun.
> make[3]: Für das Ziel »misc-output-41.right« ist nichts zu tun.
> make[3]: Für das Ziel »misc.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »misc.right« ist nichts zu tun.
> make[3]: Für das Ziel »multi1.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »multi1.right« ist nichts zu tun.
> make[3]: Für das Ziel »multi2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »multi2.right« ist nichts zu tun.
> make[3]: Für das Ziel »multi3.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »multi3.right« ist nichts zu tun.
> make[3]: Für das Ziel »multi4.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »multi4.right« ist nichts zu tun.
> make[3]: Für das Ziel »parm.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »parm.right« ist nichts zu tun.
> make[3]: Für das Ziel »prof1.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »prof2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »quit.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »restart.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »restart.right« ist nichts zu tun.
> make[3]: Für das Ziel »restart2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »search.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »search.right« ist nichts zu tun.
> make[3]: Für das Ziel »setshow.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »setshow.right« ist nichts zu tun.
> make[3]: Für das Ziel »settrace.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »settrace.right« ist nichts zu tun.
> make[3]: Für das Ziel »sig.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »sig.right« ist nichts zu tun.
> make[3]: Für das Ziel »sig-41.right« ist nichts zu tun.
> make[3]: Für das Ziel »sig-Darwin.right« ist nichts zu tun.
> make[3]: Für das Ziel »skip.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »skip.right« ist nichts zu tun.
> make[3]: Für das Ziel »sopts.right« ist nichts zu tun.
> make[3]: Für das Ziel »subshell1.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »subshell1.right« ist nichts zu tun.
> make[3]: Für das Ziel »subshell2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »subshell2.right« ist nichts zu tun.
> make[3]: Für das Ziel »subshell3.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »subshell3.right« ist nichts zu tun.
> make[3]: Für das Ziel »subshell4.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »subshell4.right« ist nichts zu tun.
> make[3]: Für das Ziel »tbreak.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »tbreak.right« ist nichts zu tun.
> make[3]: Für das Ziel »trace.right« ist nichts zu tun.
> make[3]: Für das Ziel »trace2.right« ist nichts zu tun.
> make[3]: Für das Ziel »watch1.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »watch1.right« ist nichts zu tun.
> make[3]: Für das Ziel »watch2.cmd« ist nichts zu tun.
> make[3]: Für das Ziel »watch2.right« ist nichts zu tun.
> make[3]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/data'
> make[2]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/data'
> Making check in example
> make[2]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/example'
> make bug-args.sh.in bug-step.sh bug-step-subshell.sh bugI.sh
> bugIFS.sh.in dbg-test1.sh dbg-test1.sub dbg-test2.sh debug.sh
> hanoi.sh.in interrupt.sh.in nexting.sh parm.sh restartbug.sh settrace.sh
> skip.sh subshell.sh
> make[3]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/example'
> make[3]: Für das Ziel »bug-args.sh.in« ist nichts zu tun.
> make[3]: Für das Ziel »bug-step.sh« ist nichts zu tun.
> make[3]: Für das Ziel »bug-step-subshell.sh« ist nichts zu tun.
> make[3]: Für das Ziel »bugI.sh« ist nichts zu tun.
> make[3]: Für das Ziel »bugIFS.sh.in« ist nichts zu tun.
> make[3]: Für das Ziel »dbg-test1.sh« ist nichts zu tun.
> make[3]: Für das Ziel »dbg-test1.sub« ist nichts zu tun.
> make[3]: Für das Ziel »dbg-test2.sh« ist nichts zu tun.
> make[3]: Für das Ziel »debug.sh« ist nichts zu tun.
> make[3]: Für das Ziel »hanoi.sh.in« ist nichts zu tun.
> make[3]: Für das Ziel »interrupt.sh.in« ist nichts zu tun.
> make[3]: Für das Ziel »nexting.sh« ist nichts zu tun.
> make[3]: Für das Ziel »parm.sh« ist nichts zu tun.
> make[3]: Für das Ziel »restartbug.sh« ist nichts zu tun.
> make[3]: Für das Ziel »settrace.sh« ist nichts zu tun.
> make[3]: Für das Ziel »skip.sh« ist nichts zu tun.
> make[3]: Für das Ziel »subshell.sh« ist nichts zu tun.
> make[3]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/example'
> make[2]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/example'
> Making check in integration
> make[2]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/integration'
> make brkpt1.tests brkpt2.tests brkpt3.tests check-common.sh.in
> interrupt.tests interrupt-3.tests lopts.tests multi.sh setshow.tests
> settrace.tests sig.sh sig.tests sopts.tests subshell1.tests
> subshell2.tests subshell3.tests subshell4.tests trace.tests trace2.tests
> make[3]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/integration'
> make[3]: Für das Ziel »brkpt1.tests« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt2.tests« ist nichts zu tun.
> make[3]: Für das Ziel »brkpt3.tests« ist nichts zu tun.
> make[3]: Für das Ziel »check-common.sh.in« ist nichts zu tun.
> make[3]: Für das Ziel »interrupt.tests« ist nichts zu tun.
> make[3]: Für das Ziel »interrupt-3.tests« ist nichts zu tun.
> make[3]: Für das Ziel »lopts.tests« ist nichts zu tun.
> make[3]: Für das Ziel »multi.sh« ist nichts zu tun.
> make[3]: Für das Ziel »setshow.tests« ist nichts zu tun.
> make[3]: Für das Ziel »settrace.tests« ist nichts zu tun.
> make[3]: Für das Ziel »sig.sh« ist nichts zu tun.
> make[3]: Für das Ziel »sig.tests« ist nichts zu tun.
> make[3]: Für das Ziel »sopts.tests« ist nichts zu tun.
> make[3]: Für das Ziel »subshell1.tests« ist nichts zu tun.
> make[3]: Für das Ziel »subshell2.tests« ist nichts zu tun.
> make[3]: Für das Ziel »subshell3.tests« ist nichts zu tun.
> make[3]: Für das Ziel »subshell4.tests« ist nichts zu tun.
> make[3]: Für das Ziel »trace.tests« ist nichts zu tun.
> make[3]: Für das Ziel »trace2.tests« ist nichts zu tun.
> make[3]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/integration'
> make check-TESTS
> make[3]: Betrete Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/integration'
> PASS: test-action
> checking brkpt1...
> checking brkpt2...
> checking brkpt3...
> PASS: test-brkpt
> PASS: test-bug-args
> PASS: test-bugI
> PASS: test-bugIFS
> PASS: test-bug-source
> PASS: test-command
> PASS: test-complete
> PASS: test-debug
> PASS: test-enable
> PASS: test-display
> PASS: test-finish
> PASS: test-frame
> --- ./interrupt.check 2010-03-31 15:39:49.142436250 +0200
> +++ /home/sand/make_bashdb/bashdb-4.0-0.4/test/data/interrupt.right
> 2009-06-26 06:52:05.000000000 +0200
> @@ -1,4 +1,3 @@
> Program received signal SIGTERM (15)...
> ##0 in file `interrupt.sh' at line 0
> ##1 main() called from file `interrupt.sh' at line 0
> -
> PASS: test-interrupt
> PASS: test-list
> PASS: test-lopts
> PASS: test-misc
> PASS: test-multi
> PASS: test-parm
> PASS: test-restart
> PASS: test-search
> PASS: test-setshow
> PASS: test-settrace
> --- /tmp/sig-filtered.check 2010-03-31 15:40:11.494422400 +0200
> +++ /tmp/sig-filtered.right 2010-03-31 15:40:11.490431759 +0200
> @@ -38,7 +38,7 @@
> SIGTERM stop noprint showstack trap -- '_Dbg_sig_handler 15
> "$BASH_COMMAND" "$@"' SIGTERM
> +continue
> Program received signal SIGTERM (15)...
> -->0 in file `eval.sh' at line 1
> +->0 in file `eval.sh' at line 2
> ##1 _Dbg_do_eval("kill", "-TERM", "$$") called from file `processor.sh'
> at line 402
> ##2 _Dbg_onecmd("eval", "kill -TERM $$") called from file
> `processor.sh' at line 167
> ##3 _Dbg_process_commands() called from file `hook.sh' at line 188
> @@ -48,16 +48,15 @@
> +### Should have printed a stack trace above...
> +continue
> +where 1
> -->0 in file `sig.sh' at line 1
> +->0 in file `sig.sh' at line 29
> +continue
> Program received signal SIGINT (2)...
> -->0 in file `sig.sh' at line 1
> +->0 in file `sig.sh' at line 23
> ##1 source("sig.sh") called from file `bashdb' at line 157
> ##2 main() called from file `bashdb' at line 0
> Program received signal SIGINT (2)...
> -->0 in file `sig.sh' at line 1
> +->0 in file `sig.sh' at line 24
> ##1 source("sig.sh") called from file `bashdb' at line 157
> ##2 main() called from file `bashdb' at line 0
> Debugged program terminated normally. Use q to quit or R to restart.
> +kill
> -sig.tests: Zeile 12: 5761 Killed $SH
> ${top_builddir}/bashdb -B -q -L $top_builddir -x $cmdfile
> $debugged_script
> FAIL: test-sig
> PASS: test-skip
> PASS: test-sopts
> PASS: test-bug-step
> PASS: test-bug-step-subshell
> checking subshell1...
> checking subshell2...
> checking subshell3...
> PASS: test-subshell
> PASS: test-tbreak
> checking trace...
> checking trace2...
> PASS: test-trace
> PASS: test-watch1
> PASS: test-watch2
> ===================================================
> 1 of 33 tests failed
> Please report to bas...@li...
> ===================================================
> make[3]: *** [check-TESTS] Fehler 1
> make[3]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/integration'
> make[2]: *** [check-am] Fehler 2
> make[2]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test/integration'
> make[1]: *** [check-recursive] Fehler 1
> make[1]: Verlasse Verzeichnis
> '/home/sand/make_bashdb/bashdb-4.0-0.4/test'
> make: *** [check-recursive] Fehler 1
> sand@amilo:~/make_bashdb/bashdb-4.0-0.4$
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Bashdb-devel mailing list
> Bas...@li...
> https://lists.sourceforge.net/lists/listinfo/bashdb-devel
>
|