From: Eric B. <eb...@by...> - 2007-04-19 13:09:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I was trying to upgrade the cygwin installation of bashdb to the latest release, and encountered 2 test failures atop bash-3.2.15. I'm not familiar enough with the bashdb sources to know where to look for the cause of these two failures, but since they all mention dbg-cmds.inc line 944, I wonder if there is a bug there. Any ideas? checking brkpt1... checking brkpt2... - --- /home/eblake/bashdb-3.1_0.08-1/build/test/brkpt2.check 2007-04-19 06:42:53.453125000 -0600 +++ /home/eblake/bashdb-3.1_0.08-1/src/bashdb-3.1-0.08/test/brkpt2.right 2007-01-19 20:43:30.000000000 -0700 @@ -195,19 +195,13 @@ 11: local -i j=i+1 + ### another x command... + x j - -../dbg-cmds.inc: line 944: ((: declare -i j="1" - -1 : syntax error in expression (error token is "j="1" - -1 ") - -1 +declare -i j="1" + ### another x command (+5 than value above) ... + x j+5 6 + ### x command of string y + x y - -../dbg-cmds.inc: line 944: ((: declare -- y="b" - -1 : syntax error in expression (error token is "y="b" - -1 ") - -y +declare -- y="b" + ### x of a function ... + x fn2 fn2 () FAIL: run-brkpt - --- /home/eblake/bashdb-3.1_0.08-1/build/test/command.check 2007-04-19 06:44:10.843750000 -0600 +++ /home/eblake/bashdb-3.1_0.08-1/src/bashdb-3.1-0.08/test/command.right 2006-12-03 15:30:52.000000000 -0700 @@ -20,10 +20,7 @@ + continue Breakpoint 1 hit (1 times). + x x - -../dbg-cmds.inc: line 944: ((: declare -- x="22" - -1 : syntax error in expression (error token is "x="22" - -1 ") - -22 +declare -- x="22" (dbg-test1.sh:23): 23: y=23 + # FAIL: run-command - -- Don't work too hard, make some time for fun as well! Eric Blake eb...@by... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJ2ow84KuGfSFAYARAok2AJ9jZn/f4/EDZHXQBOaQyIhgSqLS2wCgqV4O Vw3+oI0N6WeoE9jQps34V4Y= =Fl9N -----END PGP SIGNATURE----- |