This test allows you to compare all generated config files (from a sample of caches across all profiles) and CDN snapshots (CRConfig.json) from 2 instances of Traffic Ops. For example, you could compare config files / snapshots between 2 versions of Traffic Ops.
Prerequisites
Running the Test
./cfg_test.pl getref test.config
- files from Traffic Ops #1 go into /tmp/files/ref
./cfg_test.pl getnew test.config
- files from Traffic Ops #2 go into /tmp/files/new
./cfg_test.pl compare test.config
- all not ok
lines should be explained.It will compare all config files for all profiles, including the CRConfig.json.