diff options
author | Doug Evans <xdje42@gmail.com> | 2014-03-22 02:57:08 -0400 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-03-22 02:57:08 -0400 |
commit | 51b8d20cf46627f9e97b90ada6467e69eb6d4439 (patch) | |
tree | 916510c0f579825b93c2384d2fbf0362f2feb6dd /gdb | |
parent | feef67abfaf328082c445b9d25696d44551478d1 (diff) | |
download | gdb-51b8d20cf46627f9e97b90ada6467e69eb6d4439.zip gdb-51b8d20cf46627f9e97b90ada6467e69eb6d4439.tar.gz gdb-51b8d20cf46627f9e97b90ada6467e69eb6d4439.tar.bz2 |
* gdb.guile/guile.exp (guile not supported): Verify multi-line
guile command issues an error.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.guile/guile.exp | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f1f0679..3a77ffd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -2,6 +2,8 @@ * gdb.python/python.exp (python not supported): Verify multi-line python command issues an error. + * gdb.python/guile.exp (guile not supported): Verify multi-line + guile command issues an error. 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com> diff --git a/gdb/testsuite/gdb.guile/guile.exp b/gdb/testsuite/gdb.guile/guile.exp index 2a171fe..f300d72 100644 --- a/gdb/testsuite/gdb.guile/guile.exp +++ b/gdb/testsuite/gdb.guile/guile.exp @@ -38,6 +38,13 @@ gdb_test_multiple "guile (display 23) (newline)" "verify guile support" { gdb_test "source $srcdir/$subdir/source2.scm" \ "Error in sourced command file:.*" \ "source source2.scm when guile disabled" + + # Verify multi-line guile commands cause an error. + gdb_test_multiline "multi-line guile command" \ + "guile" "" \ + "(print 23)" "" \ + "end" "not supported.*" + return } -re "$gdb_prompt $" {} |