blob: d760a1ecc3ea461c84fb1fa15267cdcb2140f094 (
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_rep_bpkg=bpkg
trap "{ exit 1; }" ERR
set -o errtrace # Trap ERR in functions.
@import bpkg-rep/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= "$@"
|