gdb/testsuite: fix duplicate test names in gdb.base/index-cache.exp
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 10 Jun 2020 03:14:46 +0000 (23:14 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 10 Jun 2020 03:14:46 +0000 (23:14 -0400)
commitcab5c3b707871395d1d1a8962c41ec05db1aeba8
tree763811e1da166dada18602b3ae79142742beb44b
parentf5163fdc3c4d20aa34df86caa0cc9b03bb7496ce
gdb/testsuite: fix duplicate test names in gdb.base/index-cache.exp

Fix:

    DUPLICATE: gdb.base/index-cache.exp: test_cache_disabled: no files were created
    DUPLICATE: gdb.base/index-cache.exp: test_cache_disabled: check index-cache stats

We use `proc_with_prefix` for test_cache_disabled, but we call it twice.  So we
need an additional prefix to identify the specific call.  This patch adds that.

gdb/testsuite/ChangeLog:

* gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
parameter, update callers.

Change-Id: Idf382fd380c77a654e8a7aa236af50b65c96b1d2
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/index-cache.exp