From 3eeef4fa4113c9307170633de5346ef6f9a94dc1 Mon Sep 17 00:00:00 2001 From: David Glesser Date: Thu, 1 Sep 2016 18:30:00 +0200 Subject: [PATCH] Cosmetic in tesh. Better doc and TODO. --- tools/tesh/tesh.pod | 2 +- tools/tesh/tesh.py | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/tesh/tesh.pod b/tools/tesh/tesh.pod index 0ada1ab44d..b773ba8923 100755 --- a/tools/tesh/tesh.pod +++ b/tools/tesh/tesh.pod @@ -158,7 +158,7 @@ expected output. =item output sort -The output is sorted before comparison (see next section). +The output and the expected output are sorted before comparison (see next section). =back diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index ef69904fb3..984e23d3b7 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -11,13 +11,18 @@ All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the license (GNU LGPL) which comes with this package. -#TODO: emptty: does "! output display" also disable the comparaison with the output ? yes -#TODO: child of child of child printf => tester dans rsg... +#TODO: child of child of child that printfs. Does it work? +#TODO: a child die after its parent. What happen? #TODO: regular expression in output +#ex: >> Time taken: [0-9]+s #TODO: linked regular expression in output - +#ex: +# >> Bytes sent: ([0-9]+) +# >> Bytes recv: \1 +# then, even better: +# ! expect (\1 > 500) """ -- 2.20.1