#!/usr/bin/env bash # Copyright 2012 Red Hat Inc., Durham, North Carolina. # All Rights Reserved. # # OpenScap XCCDF Module Test Suite. # # Authors: # Peter Vrabec set -e -o pipefail . $builddir/tests/test_common.sh # Test cases. function test_api_xccdf_export { local INPUT=$srcdir/$1 local OUTPUT=$1.out ./test_api_xccdf --export $INPUT $OUTPUT # Workaround libxml2 on rhel5 which exports namespace declarations in different order. xsed -i 's|