diff options
author | Ben Pfaff <blp@ovn.org> | 2020-06-17 14:22:47 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2020-10-16 19:22:24 -0700 |
commit | 8205fbc8f5e0ae5c85b9d1be2f5f53997ea4ff31 (patch) | |
tree | 670053b7fc93441fe351f3ba1ba2613a3e6b5474 /tests | |
parent | 807152a4ddfb89b65ef75c6b12937ecd68ea8cb3 (diff) | |
download | openvswitch-8205fbc8f5e0ae5c85b9d1be2f5f53997ea4ff31.tar.gz |
Eliminate "whitelist" and "blacklist" terms.
There is one remaining use under datapath. That change should happen
upstream in Linux first according to our usual policy.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ofproto-macros.at | 4 | ||||
-rw-r--r-- | tests/system-kmod-macros.at | 6 | ||||
-rw-r--r-- | tests/system-userspace-macros.at | 6 | ||||
-rw-r--r-- | tests/test-classifier.c | 3 |
4 files changed, 10 insertions, 9 deletions
diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 87f9ae280..736d9809c 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -304,11 +304,11 @@ add_pmd_of_ports () { m4_divert_pop([PREPARE_TESTS]) -# OVS_VSWITCHD_STOP([WHITELIST]) +# OVS_VSWITCHD_STOP([ALLOWLIST]) # # Gracefully stops ovs-vswitchd and ovsdb-server, checking their log files # for messages with severity WARN or higher and signaling an error if any -# is present. The optional WHITELIST may contain shell-quoted "sed" +# is present. The optional ALLOWLIST may contain shell-quoted "sed" # commands to delete any warnings that are actually expected, e.g.: # # OVS_VSWITCHD_STOP(["/expected error/d"]) diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at index daf66bdec..15628a7c6 100644 --- a/tests/system-kmod-macros.at +++ b/tests/system-kmod-macros.at @@ -29,16 +29,16 @@ m4_define([OVS_TRAFFIC_VSWITCHD_START], AT_CHECK([ovs-vsctl -- _ADD_BR([br0]) -- $1 m4_if([$2], [], [], [| uuidfilt])], [0], [$2]) ]) -# OVS_TRAFFIC_VSWITCHD_STOP([WHITELIST], [extra_cmds]) +# OVS_TRAFFIC_VSWITCHD_STOP([ALLOWLIST], [extra_cmds]) # # Gracefully stops ovs-vswitchd and ovsdb-server, checking their log files # for messages with severity WARN or higher and signaling an error if any -# is present. The optional WHITELIST may contain shell-quoted "sed" +# is present. The optional ALLOWLIST may contain shell-quoted "sed" # commands to delete any warnings that are actually expected, e.g.: # # OVS_TRAFFIC_VSWITCHD_STOP(["/expected error/d"]) # -# 'extra_cmds' are shell commands to be executed afte OVS_VSWITCHD_STOP() is +# 'extra_cmds' are shell commands to be executed after OVS_VSWITCHD_STOP() is # invoked. They can be used to perform additional cleanups such as name space # removal. m4_define([OVS_TRAFFIC_VSWITCHD_STOP], diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at index 72c84b9c7..34f82cee3 100644 --- a/tests/system-userspace-macros.at +++ b/tests/system-userspace-macros.at @@ -21,16 +21,16 @@ m4_define([OVS_TRAFFIC_VSWITCHD_START], AT_CHECK([ovs-vsctl -- _ADD_BR([br0]) -- $1 m4_if([$2], [], [], [| uuidfilt])], [0], [$2]) ]) -# OVS_TRAFFIC_VSWITCHD_STOP([WHITELIST], [extra_cmds]) +# OVS_TRAFFIC_VSWITCHD_STOP([ALLOWLIST], [extra_cmds]) # # Gracefully stops ovs-vswitchd and ovsdb-server, checking their log files # for messages with severity WARN or higher and signaling an error if any -# is present. The optional WHITELIST may contain shell-quoted "sed" +# is present. The optional ALLOWLIST may contain shell-quoted "sed" # commands to delete any warnings that are actually expected, e.g.: # # OVS_TRAFFIC_VSWITCHD_STOP(["/expected error/d"]) # -# 'extra_cmds' are shell commands to be executed afte OVS_VSWITCHD_STOP() is +# 'extra_cmds' are shell commands to be executed after OVS_VSWITCHD_STOP() is # invoked. They can be used to perform additional cleanups such as name space # removal. m4_define([OVS_TRAFFIC_VSWITCHD_STOP], diff --git a/tests/test-classifier.c b/tests/test-classifier.c index 2d98fad48..cff00c8fa 100644 --- a/tests/test-classifier.c +++ b/tests/test-classifier.c @@ -14,7 +14,8 @@ * limitations under the License. */ -/* "White box" tests for classifier. +/* Tests for classifier, written with knowledge of and to advantage of the + * classifier's internal structure. * * With very few exceptions, these tests obtain complete coverage of every * basic block and every branch in the classifier implementation, e.g. a clean |