* gdb.python/source2.py: New file.
* gdb.python/source1: New file. * gdb.python/python.exp: Test "source" command.
This commit is contained in:
parent
8150ff9c32
commit
9e14a9ba25
4 changed files with 50 additions and 0 deletions
18
gdb/testsuite/gdb.python/source2.py
Normal file
18
gdb/testsuite/gdb.python/source2.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# This testcase is part of GDB, the GNU debugger.
|
||||
|
||||
# Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
print 'y%ss' % 'e'
|
Loading…
Add table
Add a link
Reference in a new issue