Want ctfwsdiff to diff workspaces for CTF
Having written an ad-hoc tool a few different times to do this, I thought it'd be useful to add a wsdiff like tool that uses ctfdump -c to look at the difference between two workspaces for CTF and reports on what's changed between files. While a little simple, this helps give us confidence that changes in the ctf tooling haven't caused changes in the existing gate (or have caused ones that we expect).
Updated by Andy Fiddaman 7 months ago
To test the change in the referenced Gerrit review, I ran the old and new wsdiff to compare a DEBUG and non-DEBUG workspace and compared their results.The same differences were identified by both versions.
I then made a small change to the source - added a new element to the
struct metaslab struct - and built again, then used the new version to compare the old and new non-DEBUG workspaces.
The updated tool showed the differences in the SUNW_ctf sections of affected objects, as expected.
I also tested with unified diff output.
Updated by Electric Monk 6 months ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit b7c90935fabdc1d4ac22d416b197b46081cdaee4 Author: Andy Fiddaman <email@example.com> Date: 2020-10-24T14:47:08.000Z 12222 Want ctfwsdiff to diff workspaces for CTF 13233 want unified diff option for wsdiff 13240 wsdiff should not compare .SUNW_dof sections Reviewed by: Rich Lowe <firstname.lastname@example.org> Reviewed by: C Fraire <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>