summaryrefslogtreecommitdiffstats
path: root/test/common.sh
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-01-27 23:57:49 -0700
committerSimon Glass <sjg@chromium.org>2016-01-28 21:01:24 -0700
commit0c6189b5d60a2b0fcec65f3513bad7eee289da3f (patch)
tree85362f09000df53430d79f9ce88b131e9ac32be0 /test/common.sh
parente4119ebb6dabf9bc84914b648f81c2f1b8fe76e1 (diff)
downloadtalos-obmc-uboot-0c6189b5d60a2b0fcec65f3513bad7eee289da3f.tar.gz
talos-obmc-uboot-0c6189b5d60a2b0fcec65f3513bad7eee289da3f.zip
test/py: check for bad patterns everywhere we wait
Currently, bad patterns are only honored when executing a shell command. Other cases, such as the initial boot-up of U-Boot or when interacting with command output rather than gathering all output prior to the shell prompt, do not currently look for bad patterns in console output. This patch makes sure that bad patterns are honored everywhere. One benefit of this change is that if U-Boot sandbox fails to start up, the error message it emits can be caught immediately, rather than relying on a (long) timeout when waiting for the expected signon message and/or command prompt. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/common.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud