| Index: gdb/testsuite/gdb.base/source-nofile.gdb
|
| diff --git a/gdb/testsuite/gdb.base/source-error.gdb b/gdb/testsuite/gdb.base/source-nofile.gdb
|
| similarity index 75%
|
| copy from gdb/testsuite/gdb.base/source-error.gdb
|
| copy to gdb/testsuite/gdb.base/source-nofile.gdb
|
| index c53b7277238cea0b8fd34bab5cd98548178482c3..e577a41cfdf06095a411ad91b3ee4a539d79bf2c 100644
|
| --- a/gdb/testsuite/gdb.base/source-error.gdb
|
| +++ b/gdb/testsuite/gdb.base/source-nofile.gdb
|
| @@ -1,7 +1,7 @@
|
| # This testcase is part of GDB, the GNU debugger.
|
| -
|
| -# Copyright 2005, 2007-2012 Free Software Foundation, Inc.
|
| -
|
| +#
|
| +# Copyright 2013 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
|
| @@ -15,8 +15,8 @@
|
| # You should have received a copy of the GNU General Public License
|
| # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
| -# Test GDB's "source" command - reads in a GDB script.
|
| +source for-sure-nonexistant-file
|
|
|
| -echo working line\n
|
| -x 0
|
| -echo should not reach this line\n
|
| +# Just print an message to confirm that failing to source the file
|
| +# did not cause this script to abort.
|
| +echo source error not fatal\n
|
|
|