test: Export the mgmt command to be used during test

This commit is contained in:
Johan Bloemberg
2018-02-15 18:58:35 +01:00
committed by James Shubin
parent d99190b166
commit 572b2575c5
28 changed files with 38 additions and 30 deletions

View File

@@ -38,6 +38,10 @@ if [ ! -z "$APT" ]; then
$sudo_command $APT install -y libpcap0.8-dev || true
# dependencies for building debian packages with `make deb`
$sudo_command $APT install -y dpkg-dev devscripts debhelper dh-golang dh-systemd
# `realpath` is a more universal alternative to `readlink -f` for absolute path resolution
# (-f is missing on BSD/macOS), but older Debian/Ubuntu's don't include it in coreutils yet.
# https://unix.stackexchange.com/a/136527
$sudo_command $APT install -y realpath || true
fi
if [ ! -z "$BREW" ]; then