summaryrefslogtreecommitdiffstats
path: root/tests/tests.sh
blob: 3890243ce6a69bd5ee1e36f0be0cf687c28336f0 (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

# Copyright © Tavian Barnes <tavianator@tavianator.com>
# SPDX-License-Identifier: 0BSD

set -euP
umask 022

TESTS="$(dirname -- "${BASH_SOURCE[0]}")"
. "$TESTS/util.sh"
. "$TESTS/color.sh"
. "$TESTS/stddirs.sh"
. "$TESTS/getopts.sh"
. "$TESTS/run.sh"

stdenv
drop_root "$@"
parse_args "$@"
make_stddirs
run_tests