mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
tests/netgraph: Check for PR241954
Add tests to check for renaming issues reported in PR241954 and solved in D30110. MFC: Together with D30629 Differential Revision: https://reviews.freebsd.org/D30713
This commit is contained in:
parent
0afa9be039
commit
43e4821315
|
@ -73,6 +73,13 @@ ATF_TC_BODY(node, dummy)
|
|||
ng_mkpeer(".", "a", "hub", "a");
|
||||
ng_name("a", "test hub");
|
||||
|
||||
ng_errors(PASS);
|
||||
ng_name("a", "test hub");
|
||||
ng_errors(FAIL);
|
||||
if (errno == EADDRINUSE)
|
||||
atf_tc_expect_fail("PR241954");
|
||||
ATF_CHECK_ERRNO(0, 1);
|
||||
atf_tc_expect_pass();
|
||||
|
||||
ng_connect(".", "b", "test hub:", "b");
|
||||
ng_connect(".", "c", "test hub:", "c");
|
||||
|
|
Loading…
Reference in a new issue