#!/bin/sh

set -e

. ../../../pkgos_func

pkgos_write_new_conf () {
	echo "${1} ${2}"
}

RET=$(pkgos_merge_conf /etc/nova/nova.conf hibiscus_nova.conf) || true
if [ "${RET}" = "nova nova.conf" ] ; then
	exit 0
else
	echo "pkgos_merge_conf didn't call pkgos_write_new_conf with the right arguments on a fresh install (got: ${RET})"
	exit 1
fi
