Skip to content

Commit 18ec44f

Browse files
pmachatadavem330
authored andcommitted
selftests: forwarding: README: Require diagrams
ASCII art diagrams are well suited for presenting the topology that a test uses while being easy to embed directly in the test file iteslf. They make the information very easy to grasp even for simple topologies, and for more complex ones they are almost essential, as figuring out the interconnects from the script itself proves to be difficult. Therefore state the requirement for topology ASCII art in README. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 54818c4 commit 18ec44f

File tree

1 file changed

+2
-0
lines changed
  • tools/testing/selftests/net/forwarding

1 file changed

+2
-0
lines changed

tools/testing/selftests/net/forwarding/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Guidelines for Writing Tests
4646

4747
o Where possible, reuse an existing topology for different tests instead
4848
of recreating the same topology.
49+
o Tests that use anything but the most trivial topologies should include
50+
an ASCII art showing the topology.
4951
o Where possible, IPv6 and IPv4 addresses shall conform to RFC 3849 and
5052
RFC 5737, respectively.
5153
o Where possible, tests shall be written so that they can be reused by

0 commit comments

Comments
 (0)