d02871
d02871
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
d02871
index 3c129760498..dbda6c4465d 100644
d02871
--- a/ld/testsuite/ld-plugin/lto.exp
d02871
+++ b/ld/testsuite/ld-plugin/lto.exp
d02871
@@ -721,7 +721,7 @@ if { [at_least_gcc_version 4 7] } {
d02871
 	] \
d02871
     ]
d02871
     set exec_output [run_host_cmd "sh" \
d02871
-				  "-c \"ulimit -n 16; \
d02871
+				  "-c \" \
d02871
 				   $ar -rc $plug_opt \
d02871
 				   tmpdir/libpr23460.a \
d02871
 				   tmpdir/pr23460a.o \
d02871
-- 
d02871
2.38.1
d02871