From 15514b1013a22977a451c64b6df229414a9dde6b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 23 Sep 2020 13:13:05 +0300 Subject: Add package-archive.bash public module --- tests/package-archive/driver.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/package-archive/driver.in (limited to 'tests/package-archive/driver.in') diff --git a/tests/package-archive/driver.in b/tests/package-archive/driver.in new file mode 100644 index 0000000..d760a1e --- /dev/null +++ b/tests/package-archive/driver.in @@ -0,0 +1,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= "$@" -- cgit v1.1