blob: a32e571b8963a4840f7e7442d19ebd443be29cdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
# file : tests/package-archive/driver.in
# license : MIT; see accompanying LICENSE file
# bpkg utility path.
#
bpkg_util_bpkg=bpkg
trap "{ exit 1; }" ERR
set -o errtrace # Trap ERR in functions.
@import bpkg-util/package-archive@
# Call the function passed on the command line.
#
# Note that we reset IFS to make sure that the function being tested is not
# affected by its value set by the caller.
#
IFS= "$@"
|