testsuite: Fix some tests that write outside of the standard output directory
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.btrace / gcore.exp
index dead9c9480241982a79674dd931d6b9061d278da..3eef2a1f2e667ecc433423a6b55cb83923ca3179 100644 (file)
@@ -38,4 +38,5 @@ gdb_test "next" ".*main\.3.*"
 gdb_test "record goto begin" ".*main\.2.*"
 
 # generate a core file - this used to assert
-gdb_test "generate-core-file core" "Saved corefile core"
+set corefile [standard_output_file core]
+gdb_test "generate-core-file $corefile" "Saved corefile $corefile"
This page took 0.032546 seconds and 4 git commands to generate.