summaryrefslogtreecommitdiffstats
path: root/tester
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-12-14 17:07:04 +1100
committerChris Johns <chrisj@rtems.org>2023-12-14 17:07:04 +1100
commit384acf1bcb06e7e7b794395f4ebca7254acc59fb (patch)
tree045ced8d03360b8732d342ca8221ee11a2cf9f6e /tester
parentrtemstoolkit, linkers: Fix C++17 warnings (diff)
downloadrtems-tools-384acf1bcb06e7e7b794395f4ebca7254acc59fb.tar.bz2
tester/console: Fix restart regx check
The fix to the TFTP timeout has a simple bug. Updates #4959
Diffstat (limited to 'tester')
-rw-r--r--tester/rt/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tester/rt/config.py b/tester/rt/config.py
index 139e1fa..2361bc9 100644
--- a/tester/rt/config.py
+++ b/tester/rt/config.py
@@ -425,7 +425,7 @@ class file(config.file):
self.defined('target_reset_on_timeout'):
reset_target = True
restart = \
- (self.target_start_regx is not None and self.target_start_regx is not None)
+ (self.target_start_regx is not None and self.target_start_regx.match(text))
if restart:
if self.test_started:
self._capture_console('target start detected')