#\!/bin/sh

set -e

#Test helper_rename_locdel

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

handle_all_ucf_files ${PKG_DIR} ${LOC_DIR}
rm ${DPKG_ROOT_LOC_DIR}/input.conf
mv ${PKG_DIR}/input.conf ${PKG_DIR}/inputrenamed.conf
rename_ucf_file ${LOC_DIR}/input.conf ${LOC_DIR}/inputrenamed.conf
handle_all_ucf_files ${PKG_DIR} ${LOC_DIR}
${UCF_TEST_BINDIR}ucfq --with-colons $PKGNAME | wc -l
# must be 1

