#!/bin/bash # # Integration loopback test using villas node. # # This test checks if a single node can be used as an input # in multiple paths. # # @author Steffen Vogel # @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC # @license Apache 2.0 ################################################################################## set -e set -x DIR=$(mktemp -d) pushd ${DIR} function finish { popd rm -rf ${DIR} } trap finish EXIT cat > config.json < error.log # Error log must include description grep -q "Every node must only be used by a single path as destination" error.log