X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/281f8c29e177852dcb1591fc31e363e1176857c8..f26cd6685142f04fd0024837cd5251ceb34dbc41:/tools/tesh/set-output-sort.tesh diff --git a/tools/tesh/set-output-sort.tesh b/tools/tesh/set-output-sort.tesh index c2856a2f7f..b7ae3076e9 100644 --- a/tools/tesh/set-output-sort.tesh +++ b/tools/tesh/set-output-sort.tesh @@ -22,15 +22,15 @@ $ ${bindir:=.}/tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' set- > [set-output-sort-1:64] printf 'c\\nprofiling: foo\\nprofiling: bar\\nd\\nb\\na\\nprofiling: baz' > Test suite `set-output-sort-1' OK -p Check the default prefix length (19) for "output sort" -! output sort +p Check the Right Prefix Length (19) for "output sort" +! output sort 19 < 12345678901234567 B line < 12345678901234567 A line $ cat > 12345678901234567 A line > 12345678901234567 B line -! output sort +! output sort 19 < 123456789012345678 B line < 123456789012345678 A line $ cat @@ -39,7 +39,7 @@ $ cat ! expect return 2 ! output ignore -< ! output sort +< ! output sort 19 < < 123456789012345678 B line < < 123456789012345678 A line < $ cat