diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.sbin/bgpd/unittests/rde_sets_test.c | 4 | ||||
-rw-r--r-- | regress/usr.sbin/bgpd/unittests/rde_trie_test.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/regress/usr.sbin/bgpd/unittests/rde_sets_test.c b/regress/usr.sbin/bgpd/unittests/rde_sets_test.c index 82c441e204b..8cacaa297fb 100644 --- a/regress/usr.sbin/bgpd/unittests/rde_sets_test.c +++ b/regress/usr.sbin/bgpd/unittests/rde_sets_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_sets_test.c,v 1.5 2018/11/01 14:20:41 claudio Exp $ */ +/* $OpenBSD: rde_sets_test.c,v 1.6 2019/06/17 13:14:23 claudio Exp $ */ /* * Copyright (c) 2018 Claudio Jeker <claudio@openbsd.org> @@ -83,7 +83,7 @@ main(int argc, char **argv) errx(1, "as_set_match(c, %u) failed to match", 42); if (as_set_match(c, 7)) errx(1, "as_set_match(c, %u) matched but should not", 7); - + if (!set_equal(empty->set, empty->set)) errx(1, "set_equal(empty, empty) non equal"); if (as_set_match(empty, 42)) diff --git a/regress/usr.sbin/bgpd/unittests/rde_trie_test.c b/regress/usr.sbin/bgpd/unittests/rde_trie_test.c index 094b3b3d245..f2306446ee7 100644 --- a/regress/usr.sbin/bgpd/unittests/rde_trie_test.c +++ b/regress/usr.sbin/bgpd/unittests/rde_trie_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_trie_test.c,v 1.10 2019/03/03 08:53:04 claudio Exp $ */ +/* $OpenBSD: rde_trie_test.c,v 1.11 2019/06/17 13:14:23 claudio Exp $ */ /* * Copyright (c) 2018 Claudio Jeker <claudio@openbsd.org> @@ -136,7 +136,7 @@ parse_file(FILE *in, struct trie_head *th) else maskmax = 32; break; - case 1: + case 1: min = strtonum(s, 0, maskmax, &errstr); if (errstr != NULL) errx(1, "min is %s: %s", errstr, s); @@ -309,7 +309,7 @@ test_roa_file(FILE *in, struct trie_head *th) static void usage(void) { - extern char *__progname; + extern char *__progname; fprintf(stderr, "usage: %s [-or] prefixfile testfile\n", __progname); exit(1); } |