Polish the symlink config file comparison a bit
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Aug 2012 11:52:06 +0000 (14:52 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Aug 2012 12:54:38 +0000 (15:54 +0300)
commit79f8122f41116659e944feb6675725d09663a0dd
tree9142fd53a0e44c60e9df58a87f775efe18161477
parent9f9ed70e2d85b0e8f5e2d9cf9969046034d9ad31
Polish the symlink config file comparison a bit

- Similar treatment as in commit 9f9ed70e2d85b0e8f5e2d9cf9969046034d9ad31,
  pay more attention to what kind of files we're comparing in each case,
  add a little breathing room and extra comments.
- Handle the case where on-disk link is identical to the one in new
  package in which case no backup will be needed, fixing two cases
  of unwanted backups in the test-suite.
  (similar to commit 7a50e9de80ab3c47618dad1e9a5b2d9b79bfc8dc)
- Other than the on-disk vs new package change, probably doesn't change
  anything yet, but prepares us for the next steps.
lib/rpmfi.c
tests/rpmconfig2.at