X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5bda74fa19f79d0abf79815f7147004b31dde226..27b0c1ee1d85c53f1d11bb2b8e539cd76e4cf437:/tools/tesh/set-output-sort.tesh diff --git a/tools/tesh/set-output-sort.tesh b/tools/tesh/set-output-sort.tesh index d1d3cde689..cfff84a4d4 100644 --- a/tools/tesh/set-output-sort.tesh +++ b/tools/tesh/set-output-sort.tesh @@ -3,67 +3,67 @@ p This tests whether TESH correctly sorts command output < p Test sorting and filtering of output -< +< < $ true -< +< < ! output sort < $ true -< +< < $ printf 'profiling: foo\n' -< +< < $ printf 'profiling: foo' -< +< < ! output sort < $ printf 'profiling: foo\n' -< +< < ! output sort < $ printf 'profiling: foo' -< +< < $ printf 'a\nb\nc\nd\n' < > a < > b < > c < > d -< +< < $ printf 'a\nb\nc\nd' < > a < > b < > c < > d -< +< < ! output sort < $ printf 'c\nd\nb\na\n' < > a < > b < > c < > d -< +< < ! output sort < $ printf 'c\nd\nb\na' < > a < > b < > c < > d -< +< < $ printf 'a\nprofiling: foo\nprofiling: bar\nb\nc\nd\nprofiling: baz\n' < > a < > b < > c < > d -< +< < $ printf 'a\nprofiling: foo\nprofiling: bar\nb\nc\nd\nprofiling: baz' < > a < > b < > c < > d -< +< < ! output sort < $ printf 'c\nprofiling: foo\nprofiling: bar\nd\nb\na\nprofiling: baz\n' < > a < > b < > c < > d -< +< < ! output sort < $ printf 'c\nprofiling: foo\nprofiling: bar\nd\nb\na\nprofiling: baz' < > a @@ -113,7 +113,7 @@ $ cat < $ cat < > 123456789012345678 A line < > 123456789012345678 B line -$ ${bindir:=.}/tesh +$ ${bindir:=.}/tesh p Check user-defined prefix length for "output sort" ! output sort 5