testdb: ignore ALPM_DB_VERSION

Replaces the test for hidden files which appears to be leftover from
2e431e1cc before sync db checking was moved to a separate function.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pacman-db-upgrade: fix --config option typo

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
pmtest: make test paths easily available to tests

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
tests/pacman-db-upgrade-v9: set additional paths

--config does not respect root, causing pacman-db-upgrade to read the
local pacman.conf rather than the one in the test root.

Also add a rule to ensure the ALPM_DB_VERSION file is actually being
created.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
add pacman-db-upgrade.py to check_SCRIPTS

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>