introduce relative_filename and use it
authorTom Tromey <tromey@redhat.com>
Fri, 23 Aug 2013 18:18:57 +0000 (12:18 -0600)
committerTom Tromey <tromey@redhat.com>
Mon, 4 Nov 2013 18:02:08 +0000 (11:02 -0700)
commit1e537771557f684cafb8247ad4ec03d38ac4deb5
tree880b685524af73d17a0eb4caa96694e951dca79b
parentb44b82afd9ec85bff726e294b0d0065efb5179e0
introduce relative_filename and use it

This introduces a new relative_filename proc to gdb.exp and changes
some tests to use it.  This helps make these tests parallel-safe.

2013-11-04  Tom Tromey  <tromey@redhat.com>

* gdb.base/fullname.exp: Use standard_output_file,
relative_filename.
* gdb.base/hashline1.exp: Use standard_testfile,
standard_output_file, relative_filename, clean_restart.
* gdb.base/hashline2.exp: Use standard_testfile,
standard_output_file.
* gdb.base/hashline3.exp: Use standard_testfile,
standard_output_file, relative_filename.
* lib/gdb.exp (relative_filename): New proc.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fullname.exp
gdb/testsuite/gdb.base/hashline1.exp
gdb/testsuite/gdb.base/hashline2.exp
gdb/testsuite/gdb.base/hashline3.exp
gdb/testsuite/lib/gdb.exp