diff options
Diffstat (limited to 'fuzz/tests/test_fuzz_http_endpoint_kea_dhcp6.sh')
-rwxr-xr-x | fuzz/tests/test_fuzz_http_endpoint_kea_dhcp6.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fuzz/tests/test_fuzz_http_endpoint_kea_dhcp6.sh b/fuzz/tests/test_fuzz_http_endpoint_kea_dhcp6.sh new file mode 100755 index 0000000000..416b72a656 --- /dev/null +++ b/fuzz/tests/test_fuzz_http_endpoint_kea_dhcp6.sh @@ -0,0 +1,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}" |