Debian Codegraph @

debian/tests/with-bash

raw
1 #!/bin/bash
2 set -e -u
3
4 if [ $# = 0 ]; then
5 what=$(basename "$0")
6 set -- "/bin/${what#with-}"
7 fi
8
9 if [ -e scripts/xdg-open ]; then
10 echo >&2 "Dirty source tree, you need to make clean before run autopkgtest"
11 fi
12
13 BASH_XTRACEFD=1
14 set -x
15
16 ./configure
17 make autotest SHELL="${1:-/bin/sh}"