aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-fork-static.exp')
-rw-r--r--gdb/testsuite/gdb.base/catch-fork-static.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/catch-fork-static.exp b/gdb/testsuite/gdb.base/catch-fork-static.exp
index 6d39a14b78f..1ca596cf4c6 100644
--- a/gdb/testsuite/gdb.base/catch-fork-static.exp
+++ b/gdb/testsuite/gdb.base/catch-fork-static.exp
@@ -34,7 +34,7 @@ if { ![istarget "*-*-linux*"] && ![istarget "*-*-openbsd*"] } then {
# Reusing foll-fork.c since it's a simple forking program.
standard_testfile foll-fork.c
-if { [prepare_for_testing ${testfile}.exp ${testfile} $srcfile \
+if { [prepare_for_testing "failed to prepare" ${testfile} $srcfile \
{additional_flags=-static}] } {
return -1
}