summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-05-07 18:44:59 +0300
committerGitHub <noreply@github.com>2022-05-07 18:44:59 +0300
commit0ef5ec616b6de47ad7e8cd229dcf11f99dce65fd (patch)
tree5d25a7d9698a7ca36c2439ea449aaecd1c60f16a /tests
parent00b0b7484735d7ffbd8897613cfb96e1ba02f67b (diff)
parent14678bfa0d1c6cbf4346085676b1458461a0faaf (diff)
Merge pull request #11156 from donaldsharp/spelling_three
valgrind issues and general cleanup
Diffstat (limited to 'tests')
-rw-r--r--tests/bgpd/test_aspath.c2
-rw-r--r--tests/topotests/lib/micronet.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/bgpd/test_aspath.c b/tests/bgpd/test_aspath.c
index 3cc9a63072..ef1fcf5cec 100644
--- a/tests/bgpd/test_aspath.c
+++ b/tests/bgpd/test_aspath.c
@@ -1012,7 +1012,7 @@ static int validate(struct aspath *as, const struct test_spec *sp)
fails++;
printf("firstas: %d, got %d\n", sp->first,
aspath_firstas_check(as, sp->first));
- printf("loop does: %d %d, doesnt: %d %d\n", sp->does_loop,
+ printf("loop does: %d %d, doesn't: %d %d\n", sp->does_loop,
aspath_loop_check(as, sp->does_loop), sp->doesnt_loop,
aspath_loop_check(as, sp->doesnt_loop));
printf("private check: %d %d\n", sp->private_as,
diff --git a/tests/topotests/lib/micronet.py b/tests/topotests/lib/micronet.py
index 59dd80ff7b..d7b680da18 100644
--- a/tests/topotests/lib/micronet.py
+++ b/tests/topotests/lib/micronet.py
@@ -266,7 +266,7 @@ class Commander(object): # pylint: disable=R0205
)
if raises:
# error = Exception("stderr: {}".format(stderr))
- # This annoyingly doesnt' show stderr when printed normally
+ # This annoyingly doesn't' show stderr when printed normally
error = subprocess.CalledProcessError(rc, actual_cmd)
error.stdout, error.stderr = stdout, stderr
raise error