summaryrefslogtreecommitdiffstats
path: root/fuzz/tests/test_fuzz_unix_socket_kea_dhcp4.sh
blob: 416b72a656801414dda73c4d977f776418bfd564 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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}"