#!/bin/sh
# Apply non-loopback-runner.patch to a current-main checkout with vp i installed.
# Set T3_PROOF_HOST to a non-loopback IPv4 address assigned to the test host.
: "${T3_PROOF_HOST:?Set the test host non-loopback IPv4 address}"
export T3_PROOF_HOST
export T3CODE_DEV_SEED=0
export T3_SCENARIO_INHERIT_ENV=T3CODE_DEV_SEED,T3_PROOF_HOST
vp run scenarios:prove scripts/scenarios/remote-file-menu.e2e.ts \
  --base f39ecd3df8f01171c190350fe93e1a9cfb3a017d \
  --head d42bc2f141719f34780a49b1891088046b83a29f \
  --upload-command 'ghdrop upload'
