$ ${bindir:=/usr/bin}/myprogram
-=head2 Not enforcing the expected output
+=head2 Not enforcing the expected output
By default, the commands output is matched against the one expected,
and an error is raised on discrepancy. Metacommands to change this:
# Sort only lines depending on the first 19 chars
! output sort 19
- $ ./some_simgrid_simulator --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
+ $ ./some_simgrid_simulator --log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n
This approach may seem surprising at the first glance but it does its job:
=over 4
-=item Every timestamps remain separated, as it should;
+=item Every timestamps remain separated, as it should;
=item In each timestamp, the output order of processes become
reproducible: that's the lexicographical order of their name;