testsuite: Cleanup some temp dirs with gdb-index files
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 14 May 2021 12:53:19 +0000 (14:53 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 14 May 2021 15:49:25 +0000 (17:49 +0200)
commitf8eec398fb705d6d6f76451288abd5d38f9d07fc
tree207b327d61ac00a9419c7ab6bc5eea96cca78b11
parent55789354fcbaf879f3ca8475b647b2747dec486e
testsuite: Cleanup some temp dirs with gdb-index files

After the gdb test-suite runs there are some files
left in /tmp/tmp*/*.gdb-index, remove those files
and the directory at the end of the test case.

gdb/testsuite:
2021-05-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>

* gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and
remove the directory.
* gdb.dwarf2/per-bfd-sharing.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/index-cache.exp
gdb/testsuite/gdb.dwarf2/per-bfd-sharing.exp