This is the TESH tool. It constitutes a testing shell, ie a sort of shell
specialized to run tests. The list of actions to take is parsed from files
This is the TESH tool. It constitutes a testing shell, ie a sort of shell
specialized to run tests. The list of actions to take is parsed from files
`&' command to run in background
`<' input to pass to the command
`>' output expected from the command
`&' command to run in background
`<' input to pass to the command
`>' output expected from the command
----------------------
Tesh accepts several command line arguments:
--cd some/directory: ask tesh to switch the working directory before
----------------------
Tesh accepts several command line arguments:
--cd some/directory: ask tesh to switch the working directory before
It is also possible to specify that a given command must raise a given
signal. For this, use the "expect signal" metacommand. It takes the signal name
as argument. The change only apply to the next command (cf. set-signal.tesh).
It is also possible to specify that a given command must raise a given
signal. For this, use the "expect signal" metacommand. It takes the signal name
as argument. The change only apply to the next command (cf. set-signal.tesh).
-and an error is raised on discrepency. Metacomands to change this:
- "output ignore" -> output completely discarded
+and an error is raised on discrepancy. Metacommands to change this:
+ "output ignore" -> output completely discarded
"output display" -> output displayed (but not verified)
"output sort" -> sorts the display before verifying it (see below)
"output display" -> output displayed (but not verified)
"output sort" -> sorts the display before verifying it (see below)
SimGrid since the processes run out of order at any scheduling point
(ie, every processes ready to run at simulated time t run in
parallel). To ensure that the simulator outputs still match, we have
SimGrid since the processes run out of order at any scheduling point
(ie, every processes ready to run at simulated time t run in
parallel). To ensure that the simulator outputs still match, we have
-log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
Then, tesh sorts string on the 19 first chars only, and is stable when
-log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
Then, tesh sorts string on the 19 first chars only, and is stable when
- (2) scheduling points are separated from each other
- (3) at each scheduling point, processes are separated from each other
+ (2) scheduling points are separated from each other
+ (3) at each scheduling point, processes are separated from each other
If you want to change the length of the prefix used for the sort,
simply specify it after the output sort directive, like this:
! output sort 22
If you want to change the length of the prefix used for the sort,
simply specify it after the output sort directive, like this:
! output sort 22