Skip to content

Commit 1cece4a

Browse files
committed
tests: Remove "test" from test names.
Every test is a test, so each test doesn't need to attest to being a test. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Ryan Moats <rmoats@us.ibm.com>
1 parent 8135328 commit 1cece4a

4 files changed

Lines changed: 30 additions & 30 deletions

File tree

tests/auto-attach.at

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AT_BANNER([auto-attach unit tests])
22

3-
AT_SETUP([auto-attach - packet tests])
3+
AT_SETUP([auto-attach - packets])
44
AT_KEYWORDS([auto-attach])
55
AT_CHECK(ovstest test-aa, [], [ignore], [ignore])
66

tests/library.at

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,77 @@
11
AT_BANNER([library unit tests])
22

3-
AT_SETUP([test flow extractor])
3+
AT_SETUP([flow extractor])
44
AT_CHECK([$PERL `which flowgen.pl` >/dev/null 3>flows 4>pcap])
55
AT_CHECK([ovstest test-flows flows pcap], [0], [checked 247 packets, 0 errors
66
])
77
AT_CLEANUP
88

9-
AT_SETUP([test TCP/IP checksumming])
9+
AT_SETUP([TCP/IP checksumming])
1010
AT_CHECK([ovstest test-csum], [0], [....#....#....####................................#................................#
1111
])
1212
AT_CLEANUP
1313

14-
AT_SETUP([test hash functions])
14+
AT_SETUP([hash functions])
1515
AT_CHECK([ovstest test-hash])
1616
AT_CLEANUP
1717

18-
AT_SETUP([test hash map])
18+
AT_SETUP([hash map])
1919
AT_KEYWORDS([hmap])
2020
AT_CHECK([ovstest test-hmap], [0], [............
2121
])
2222
AT_CLEANUP
2323

24-
AT_SETUP([test hash index])
24+
AT_SETUP([hash index])
2525
AT_KEYWORDS([hindex])
2626
AT_CHECK([ovstest test-hindex], [0], [.....................
2727
])
2828
AT_CLEANUP
2929

30-
AT_SETUP([test cuckoo hash])
30+
AT_SETUP([cuckoo hash])
3131
AT_KEYWORDS([cmap])
3232
AT_CHECK([ovstest test-cmap check 1], [0], [...
3333
])
3434
AT_CLEANUP
3535

36-
AT_SETUP([test counting cockoo hash])
36+
AT_SETUP([counting cockoo hash])
3737
AT_KEYWORDS([cmap])
3838
AT_CHECK([ovstest test-ccmap check 1], [0], [...
3939
])
4040
AT_CLEANUP
4141

42-
AT_SETUP([test atomic operations])
42+
AT_SETUP([atomic operations])
4343
AT_CHECK([ovstest test-atomic])
4444
AT_CLEANUP
4545

46-
AT_SETUP([test linked lists])
46+
AT_SETUP([linked lists])
4747
AT_CHECK([ovstest test-list], [0], [...
4848
])
4949
AT_CLEANUP
5050

51-
AT_SETUP([test packet library])
51+
AT_SETUP([packet library])
5252
AT_CHECK([ovstest test-packets])
5353
AT_CLEANUP
5454

55-
AT_SETUP([test SHA-1])
55+
AT_SETUP([SHA-1])
5656
AT_CHECK([ovstest test-sha1], [0], [.........
5757
])
5858
AT_CLEANUP
5959

60-
AT_SETUP([test type properties])
60+
AT_SETUP([type properties])
6161
AT_CHECK([test-type-props])
6262
AT_CLEANUP
6363

64-
AT_SETUP([test strtok_r bug fix])
64+
AT_SETUP([strtok_r bug fix])
6565
AT_CHECK([test-strtok_r], [0], [NULL NULL
6666
])
6767
AT_CLEANUP
6868

69-
AT_SETUP([test byte order conversion])
69+
AT_SETUP([byte order conversion])
7070
AT_KEYWORDS([byte order])
7171
AT_CHECK([ovstest test-byte-order])
7272
AT_CLEANUP
7373

74-
AT_SETUP([test random number generator])
74+
AT_SETUP([random number generator])
7575
AT_CHECK([ovstest test-random], [0], [dnl
7676
average=7fa2014f
7777

@@ -142,7 +142,7 @@ m4_foreach(
142142
AT_CHECK([ovstest test-util testname], [0], [], [])
143143
AT_CLEANUP])
144144

145-
AT_SETUP([test unix socket, short pathname - C])
145+
AT_SETUP([unix socket, short pathname - C])
146146
AT_SKIP_IF([test "$IS_WIN32" = "yes"])
147147
AT_CHECK([ovstest test-unix-socket x])
148148
AT_CLEANUP
@@ -152,7 +152,7 @@ dnl go in a fixed-length field in struct sockaddr_un. Generally the limit
152152
dnl is about 100 bytes. On Linux, we work around this by indirecting through
153153
dnl a directory fd using /proc/self/fd/<dirfd>. We do not have a workaround
154154
dnl for other platforms, so we skip the test there.
155-
AT_SETUP([test unix socket, long pathname - C])
155+
AT_SETUP([unix socket, long pathname - C])
156156
AT_SKIP_IF([test "$IS_WIN32" = "yes"])
157157
dnl Linux sockaddr_un has a 108-byte limit, so this needs to be longer.
158158
dnl Linux "ecryptfs" has a 143-byte limit, so we use that many bytes.
@@ -166,7 +166,7 @@ AT_CHECK([cd $longname && ovstest test-unix-socket ../$longname/socket socket])
166166
AT_CLEANUP
167167

168168
m4_define([UNIX_SOCKET_SHORT_PATHNAME_PYN],
169-
[AT_SETUP([test unix socket, short pathname - $1])
169+
[AT_SETUP([unix socket, short pathname - $1])
170170
AT_SKIP_IF([test $2 = no || test "$IS_WIN32" = "yes"])
171171
AT_KEYWORDS([python unixsocket])
172172
AT_CHECK([$3 $srcdir/test-unix-socket.py x])
@@ -181,7 +181,7 @@ dnl is about 100 bytes. On Linux, we work around this by indirecting through
181181
dnl a directory fd using /proc/self/fd/<dirfd>. We do not have a workaround
182182
dnl for other platforms, so we skip the test there.
183183
m4_define([UNIX_SOCKET_LONG_PATHNAME_PYN],
184-
[AT_SETUP([test unix socket, long pathname - $1])
184+
[AT_SETUP([unix socket, long pathname - $1])
185185
AT_SKIP_IF([test $2 = no || test "$IS_WIN32" = "yes"])
186186
AT_KEYWORDS([python unixsocket])
187187
dnl Linux sockaddr_un has a 108-byte limit, so this needs to be longer.
@@ -224,7 +224,7 @@ AT_SETUP([snprintf])
224224
AT_CHECK([ovstest test-util snprintf])
225225
AT_CLEANUP
226226

227-
AT_SETUP([test bitmap functions])
227+
AT_SETUP([bitmap functions])
228228
AT_CHECK([ovstest test-bitmap check], [0], [..
229229
])
230230
AT_CLEANUP
@@ -233,10 +233,10 @@ AT_SETUP([use of public headers])
233233
AT_CHECK([test-lib], [0], [])
234234
AT_CLEANUP
235235

236-
AT_SETUP([test ofpbuf module])
236+
AT_SETUP([ofpbuf module])
237237
AT_CHECK([ovstest test-ofpbuf], [0], [])
238238
AT_CLEANUP
239239

240-
AT_SETUP([test rcu])
240+
AT_SETUP([rcu])
241241
AT_CHECK([ovstest test-rcu-quiesce], [0], [])
242242
AT_CLEANUP

tests/ovn-controller-vtep.at

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ AT_CHECK([ovn-nbctl lport-set-options $2 vtep-physical-switch=$3 vtep-logical-sw
111111
##############################################
112112

113113
# tests chassis related updates.
114-
AT_SETUP([ovn-controller-vtep - test chassis])
114+
AT_SETUP([ovn-controller-vtep - chassis])
115115
OVN_CONTROLLER_VTEP_START
116116

117117
# verifies the initial ovn-sb db configuration.
@@ -178,7 +178,7 @@ AT_CLEANUP
178178

179179

180180
# Tests binding updates.
181-
AT_SETUP([ovn-controller-vtep - test binding 1])
181+
AT_SETUP([ovn-controller-vtep - binding 1])
182182
OVN_CONTROLLER_VTEP_START
183183

184184
# adds logical switch 'lswitch0' and vlan_bindings.
@@ -242,7 +242,7 @@ AT_CLEANUP
242242

243243
# Tests corner case: Binding the vtep logical switch from two different
244244
# datapath.
245-
AT_SETUP([ovn-controller-vtep - test binding 2])
245+
AT_SETUP([ovn-controller-vtep - binding 2])
246246
OVN_CONTROLLER_VTEP_START
247247

248248
# adds logical switch 'lswitch0' and vlan_bindings.
@@ -281,7 +281,7 @@ AT_CLEANUP
281281

282282

283283
# Tests vtep module vtep logical switch tunnel key update.
284-
AT_SETUP([ovn-controller-vtep - test vtep-lswitch])
284+
AT_SETUP([ovn-controller-vtep - vtep-lswitch])
285285
OVN_CONTROLLER_VTEP_START
286286

287287
# creates the logical switch in vtep and adds the corresponding logical
@@ -333,7 +333,7 @@ AT_CLEANUP
333333

334334

335335
# Tests vtep module 'Ucast_Macs_Remote's.
336-
AT_SETUP([ovn-controller-vtep - test vtep-macs 1])
336+
AT_SETUP([ovn-controller-vtep - vtep-macs 1])
337337
OVN_CONTROLLER_VTEP_START
338338

339339
# creates a simple logical network with the vtep device and a fake hv chassis
@@ -404,7 +404,7 @@ AT_CLEANUP
404404

405405

406406
# Tests vtep module 'Ucast_Macs_Remote's (corner cases).
407-
AT_SETUP([ovn-controller-vtep - test vtep-macs 2])
407+
AT_SETUP([ovn-controller-vtep - vtep-macs 2])
408408
OVN_CONTROLLER_VTEP_START
409409

410410
# creates a simple logical network with the vtep device and a fake hv chassis

tests/ovn-sbctl.at

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ AT_CLEANUP
7676

7777
dnl ---------------------------------------------------------------------
7878

79-
AT_SETUP([ovn-sbctl - test])
79+
AT_SETUP([ovn-sbctl])
8080
OVN_SBCTL_TEST_START
8181

8282
AT_CHECK([ovn-nbctl lswitch-add br-test])

0 commit comments

Comments
 (0)