This is testsuite for testing copy-jdk-configs package. It performs upgrade/downgrade in several scenarios (unmodified config files, modified config files, deleted config files) an checks if behavior meets expectations.
sudo dnf install copy-jdk-configs
./test-cjc.sh --jdkName "java-1.8.0-openjdk" --oldJdkAuto --newJdkAuto