2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00
kea/fuzz/tests/test-fuzz-unix-socket-kea-dhcp4.sh

12 lines
268 B
Bash
Raw Normal View History

#!/bin/sh
if ! sudo -n true; then exec sudo -E -- "${0}" "${@}"; fi
script_path=$(cd "$(dirname "${0}")" && pwd)
script_basename=$(basename "${0}")
tested_binary=$(printf '%s' "${script_basename}" | sed 's/test-//g;s/.sh//g')
"${script_path}/../${tested_binary}"