binutils objdump.exp remote_file typo

Message ID 20200623013458.GM21885@bubble.grove.modra.org
State New
Headers show
Series
  • binutils objdump.exp remote_file typo
Related show

Commit Message

Alan Modra via Binutils June 23, 2020, 1:34 a.m.
This fixes some inconsistent test results I was seeing.

	* testsuite/binutils-all/objdump.exp (bintest.a): Correct
	remote_file delete command.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp
index 8d3c8df171..145e6d216f 100644
--- a/binutils/testsuite/binutils-all/objdump.exp
+++ b/binutils/testsuite/binutils-all/objdump.exp
@@ -83,7 +83,7 @@  if [is_remote host] {
 
 # $testarchive exists only if it is supported.
 set testarchive tmpdir/bintest.a
-remote_file host file delete $testarchive
+remote_file host delete $testarchive
 set got [binutils_run $AR "rc tmpdir/bintest.a $testfile2"]
 if ![string match "" $got] then {
     fail "bintest.a"