#!/bin/bash # NB This requires use of t-chain-test-somehow. set -ex oldpwd=$(pwd) cd "$DGIT_TEST_TROOT/.." . tests/lib cd "$oldpwd" trap '' EXIT # preserves our exit status t-dgit "$@"