code: def test_input_dependency_wildcard(client, remote_tmpdir):
      batch = create_batch(client)
      head = batch.create_job(
          DOCKER_ROOT_IMAGE,
          command=[
              "/bin/sh",
              "-c",
              "echo head1 > /io/data1 ; echo head2 > /io/data2",
          ],
          output_files=[
              ("/io/data1", f"{remote_tmpdir}data1"),
              ("/io/data2", f"{remote_tmpdir}data2"),
          ],
      )
      tail = batch.create_job(
          DOCKER_ROOT_IMAGE,
          command=["/bin/sh", "-c", "cat /io/data1 ; cat /io/data2"],
          input_files=[
              (f"{remote_tmpdir}data1", "/io/data1"),
              (f"{remote_tmpdir}data2", "/io/data2"),
          ],
          parents=[head],
      )
      batch.submit()
      tail.wait()
      head_status = head.status()
      assert head._get_exit_code(head_status, "input") != 0, str(
          (head_status, batch.debug_info())
      )
      tail_log = tail.log()
      assert tail_log["main"] == "head1\nhead2\n", str(
          (tail_log, batch.debug_info())
      )
  
imports: import asyncio
  import os
  import re
  import secrets
  import pytest
  from aiohttp import web
  from hailtop.batch_client import aioclient
  from hailtop.batch_client.client import BatchClient, Job
  from .utils import DOCKER_ROOT_IMAGE, batch_status_job_counter, create_batch, legacy_batch_status
label_desc: Use image node_id 9 for calling a global function with example usage: test_input_dependency_wildcard(client, remote_tmpdir) without return types