$ ${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 surprizing at the first glance but it does its job:
+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;
=head2 Ignoring some output
-Some outputed lines can be ignored by setting the ignore command followed
+Some outputted lines can be ignored by setting the ignore command followed
by a regular expression:
! ignore .*0x[0-9A-F]+\.
=head2 Colored and formatted text
-Tesh removes ANSI/VT100 control sequences from outputed text to make easier the writing of tests.
+Tesh removes ANSI/VT100 control sequences from outputted text to make easier the writing of tests.
$ printf "I \033[0;31mlove\033[0m tesh\n"
> I love tesh