diff --git a/tests/integration/hook-frame.sh b/tests/integration/hook-frame.sh new file mode 100755 index 000000000..dce8d18ee --- /dev/null +++ b/tests/integration/hook-frame.sh @@ -0,0 +1,50 @@ +#!/bin/bash +# +# Integration test for frame hook. +# +# Author: Philipp Jungkamp +# SPDX-FileCopyrightText: 2023 OPAL-RT Germany GmbH +# SPDX-License-Identifier: Apache-2.0 + +set -e + +DIR=$(mktemp -d) +pushd ${DIR} + +function finish { + popd + rm -rf ${DIR} +} +trap finish EXIT + +cat > input.dat < expect.dat < output.dat + +villas compare output.dat expect.dat