[gdb/testsuite] Fix filename in gdb.debuginfod/crc_mismatch.exp
authorTom de Vries <tdevries@suse.de>
Fri, 17 Mar 2023 09:01:07 +0000 (10:01 +0100)
committerTom de Vries <tdevries@suse.de>
Fri, 17 Mar 2023 09:01:07 +0000 (10:01 +0100)
commit14317f7f05d0290586f456d02176dd77a81aee69
tree228f9f6bbf720154bcf3d78e18464aef48ab8a57
parentabee4501ebe519270ad52a436ad1fc8229e963bc
[gdb/testsuite] Fix filename in gdb.debuginfod/crc_mismatch.exp

After running test-case gdb.debuginfod/crc_mismatch.exp, I find a dir called '$':
...
$ ls $build/gdb/testsuite/
$      config.log     gdb.log  lib       outputs   site.exp
cache  config.status  gdb.sum  Makefile  site.bak  temp
...

Fix this by removing the stray '$' here:
...
set debugfile "$[standard_output_file ${testfile}.debug]"
...

Tested on x86_64-linux.
gdb/testsuite/gdb.debuginfod/crc_mismatch.exp