Fix ld action in run_dump_test