#!/bin/bash # # Integration test for remote API # # @author Steffen Vogel # @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC # @license Apache 2.0 ################################################################################## set -e DIR=$(mktemp -d) pushd ${DIR} function finish { popd rm -rf ${DIR} } trap finish EXIT cat > config.json < fetched.json kill %% wait %% jq -e '.apis | index( "capabilities" ) != null' < fetched.json