#!/usr/bin/env bash # # Integration test for reorder_ts 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 < reorder.dat villas hook drop < reorder.dat > output.dat villas compare output.dat expect.dat