#\!/bin/sh

set -e

#Test helper_update_bothch_forceold

. ../../t/helper_functions_test_setup.sh

handle_all_ucf_files ${PKG_DIR} ${LOC_DIR}
echo "modified locally" >> ${DPKG_ROOT_LOC_DIR}/input.conf
cp -a input2.conf ${PKG_DIR}/input.conf
UCF_FORCE_CONFFOLD=1 handle_all_ucf_files ${PKG_DIR} ${LOC_DIR}
# loc/renamedconffile must now be identical to pkg/renamedconffile
${UCF_TEST_BINDIR}ucfq --with-colons $PKGNAME | wc -l
# must be 1
