Subject: | 10-run.t should ignore whitespace differences |
On a debian system I see the following failure:
...
# Failed test 'Write out interfaces compare to system interfaces.'
# at t/10-run.t line 83.
# +---+-----------------------------------------+-----------------------------------------+
# | Ln|Got |Expected |
# +---+-----------------------------------------+-----------------------------------------+
...
# | 6| | |
# | 7|# device: eth0 |# device: eth0 |
# * 8|auto eth0 |auto eth0 *
# | 9|iface eth0 inet dhcp |iface eth0 inet dhcp |
# | 10| | |
...
Removing the extra space after "auto" in /etc/network/interfaces "fixed" the failure. Probably the test should ignore whitespace-only diffs, or maybe the module should try to preserve them.