~arges/ubuntu/quantal/rsyslog/fix-lp1059592

« back to all changes in this revision

Viewing changes to tests/Makefile.am

Tags: 5.7.3-1
* New upstream release.
* Upload to unstable.
* debian/patches/02-typo_fix_equation_sign.patch
  - Removed, merged upstream.
* debian/patches/03-atomic_operations.patch
  - Removed, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
if ENABLE_TESTBENCH
2
2
TESTRUNS = rt_init rscript
3
 
check_PROGRAMS = $(TESTRUNS) ourtail nettester tcpflood chkseq randomgen
 
3
check_PROGRAMS = $(TESTRUNS) ourtail nettester tcpflood chkseq msleep randomgen diagtalker uxsockrcvr syslog_caller
4
4
TESTS = $(TESTRUNS) cfg.sh \
 
5
        arrayqueue.sh \
 
6
        linkedlistqueue.sh \
 
7
        da-mainmsg-q.sh \
5
8
        validation-run.sh \
6
9
        imtcp-multiport.sh \
 
10
        daqueue-persist.sh \
7
11
        diskqueue.sh \
8
12
        diskqueue-fsync.sh \
 
13
        rulesetmultiqueue.sh \
9
14
        manytcp.sh \
 
15
        rsf_getenv.sh \
 
16
        manyptcp.sh \
 
17
        imtcp_conndrop.sh \
 
18
        imtcp_addtlframedelim.sh \
10
19
        sndrcv.sh \
11
20
        sndrcv_gzip.sh \
 
21
        sndrcv_udp.sh \
 
22
        sndrcv_udp_nonstdpt.sh \
12
23
        asynwr_simple.sh \
13
24
        asynwr_timeout.sh \
14
25
        asynwr_small.sh \
25
36
        dynfile_invalid2.sh \
26
37
        complex1.sh \
27
38
        queue-persist.sh \
28
 
        pipeaction.sh
 
39
        pipeaction.sh \
 
40
        uxsock_simple.sh \
29
41
        execonlyonce.sh \
 
42
        execonlywhenprevsuspended.sh \
 
43
        execonlywhenprevsuspended2.sh \
 
44
        execonlywhenprevsuspended3.sh \
 
45
        execonlywhenprevsuspended4.sh \
 
46
        pipe_noreader.sh \
 
47
        dircreate_dflt.sh \
 
48
        dircreate_off.sh \
30
49
        queue-persist.sh 
31
50
 
 
51
if ENABLE_IMPTCP
 
52
TESTS +=  \
 
53
        imptcp_large.sh \
 
54
        imptcp_addtlframedelim.sh \
 
55
        imptcp_conndrop.sh 
 
56
endif
 
57
 
 
58
if ENABLE_OMUDPSPOOF
 
59
TESTS += sndrcv_omudpspoof.sh \
 
60
         sndrcv_omudpspoof_nonstdpt.sh
 
61
endif
 
62
 
32
63
if ENABLE_OMSTDOUT
33
64
TESTS += omod-if-array.sh \
34
65
         proprepltest.sh \
37
68
         inputname.sh \
38
69
         threadingmq.sh \
39
70
         threadingmqaq.sh \
 
71
         discard.sh \
 
72
         badqi.sh \
 
73
         tabescape_dflt.sh \
 
74
         tabescape_off.sh \
40
75
         fieldtest.sh
41
76
endif
42
77
 
 
78
if ENABLE_OMRULESET
 
79
TESTS += omruleset.sh \
 
80
         omruleset-queue.sh
 
81
endif
 
82
 
43
83
if ENABLE_EXTENDED_TESTS
44
84
TESTS += random.sh 
45
85
endif
46
86
 
47
 
check_JAVA = DiagTalker.java
48
 
 
49
87
endif # if ENABLE_TESTBENCH
50
88
 
51
89
TESTS_ENVIRONMENT = RSYSLOG_MODDIR='$(abs_top_builddir)'/runtime/.libs/
52
 
DISTCLEANFILES=rsyslog.pid '$(abs_top_builddir)'/DiagTalker.class
 
90
DISTCLEANFILES=rsyslog.pid
53
91
test_files = testbench.h runtime-dummy.c
54
92
 
55
93
EXTRA_DIST= 1.rstest 2.rstest 3.rstest err1.rstest \
92
130
           testsuites/master.tspgsql \
93
131
           testsuites/subsecond.conf \
94
132
           testsuites/master.subsecond \
 
133
           testsuites/parse_8bit_escape.conf \
 
134
           testsuites/8bit.parse_8bit_escape \
95
135
           testsuites/parse1.conf \
96
136
           testsuites/field1.conf \
97
137
           testsuites/1.parse1 \
98
138
           testsuites/2.parse1 \
99
139
           testsuites/3.parse1 \
 
140
           testsuites/4.parse1 \
 
141
           testsuites/mark.parse1 \
 
142
           testsuites/8bit.parse1 \
 
143
           testsuites/empty.parse1 \
100
144
           testsuites/snare.parse1 \
101
145
           testsuites/oversizeTag-1.parse1 \
102
146
           testsuites/weird.parse1 \
110
154
           testsuites/rfc5424-2.parse1 \
111
155
           testsuites/rfc5424-3.parse1 \
112
156
           testsuites/rfc5424-4.parse1 \
 
157
           testsuites/malformed1.parse1 \
 
158
           testsuites/reallife.parse1 \
 
159
           testsuites/parse2.conf \
 
160
           testsuites/reallife.parse2 \
113
161
           testsuites/parse3.conf \
114
162
           testsuites/reallife.parse3 \
115
163
           testsuites/parse-nodate.conf \
128
176
           killrsyslog.sh \
129
177
           parsertest.sh \
130
178
           fieldtest.sh \
 
179
           rsf_getenv.sh \
 
180
           testsuites/rsf_getenv.conf \
131
181
           diskqueue.sh \
132
182
           testsuites/diskqueue.conf \
 
183
           arrayqueue.sh \
 
184
           testsuites/arrayqueue.conf \
 
185
           linkedlistqueue.sh \
 
186
           testsuites/linkedlistqueue.conf \
 
187
           da-mainmsg-q.sh \
 
188
           testsuites/da-mainmsg-q.conf \
133
189
           diskqueue-fsync.sh \
134
190
           testsuites/diskqueue-fsync.conf \
135
191
           imtcp-multiport.sh \
136
192
           testsuites/imtcp-multiport.conf \
137
193
           manytcp.sh \
138
194
           testsuites/manytcp.conf \
 
195
           manyptcp.sh \
 
196
           testsuites/manyptcp.conf \
 
197
           imptcp_large.sh \
 
198
           testsuites/imptcp_large.conf \
 
199
           imptcp_addtlframedelim.sh \
 
200
           testsuites/imptcp_addtlframedelim.conf \
 
201
           imptcp_conndrop.sh \
 
202
           testsuites/imptcp_conndrop.conf \
 
203
           imtcp_conndrop.sh \
 
204
           testsuites/imtcp_conndrop.conf \
 
205
           imtcp_addtlframedelim.sh \
 
206
           testsuites/imtcp_addtlframedelim.conf \
139
207
           inputname.sh \
140
208
           testsuites/inputname_imtcp.conf \
141
209
           testsuites/1.inputname_imtcp_12514 \
142
210
           testsuites/1.inputname_imtcp_12515 \
143
211
           testsuites/1.inputname_imtcp_12516 \
144
212
           omod-if-array.sh \
 
213
           discard.sh \
 
214
           testsuites/discard.conf \
145
215
           diag.sh \
146
216
           testsuites/diag-common.conf \
147
217
           testsuites/diag-common2.conf \
 
218
           daqueue-persist.sh \
 
219
           daqueue-persist-drvr.sh \
148
220
           queue-persist.sh \
149
221
           queue-persist-drvr.sh \
150
222
           testsuites/queue-persist.conf \
156
228
           sndrcv.sh \
157
229
           testsuites/sndrcv_sender.conf \
158
230
           testsuites/sndrcv_rcvr.conf \
 
231
           sndrcv_udp.sh \
 
232
           testsuites/sndrcv_udp_sender.conf \
 
233
           testsuites/sndrcv_udp_rcvr.conf \
 
234
           sndrcv_udp_nonstdpt.sh \
 
235
           testsuites/sndrcv_udp_nonstdpt_sender.conf \
 
236
           testsuites/sndrcv_udp_nonstdpt_rcvr.conf \
 
237
           sndrcv_omudpspoof.sh \
 
238
           testsuites/sndrcv_omudpspoof_sender.conf \
 
239
           testsuites/sndrcv_omudpspoof_rcvr.conf \
 
240
           sndrcv_omudpspoof_nonstdpt.sh \
 
241
           testsuites/sndrcv_omudpspoof_nonstdpt_sender.conf \
 
242
           testsuites/sndrcv_omudpspoof_nonstdpt_rcvr.conf \
159
243
           sndrcv_gzip.sh \
160
244
           testsuites/sndrcv_gzip_sender.conf \
161
245
           testsuites/sndrcv_gzip_rcvr.conf \
162
246
           pipeaction.sh \
163
247
           testsuites/pipeaction.conf \
 
248
           pipe_noreader.sh \
 
249
           testsuites/pipe_noreader.conf \
 
250
           uxsock_simple.sh \
 
251
           testsuites/uxsock_simple.conf \
164
252
           asynwr_simple.sh \
165
253
           testsuites/asynwr_simple.conf \
166
254
           asynwr_timeout.sh \
198
286
           testsuites/master.rfctag \
199
287
           testsuites/nolimittag.conf \
200
288
           testsuites/master.nolimittag \
 
289
           rulesetmultiqueue.sh \
 
290
           testsuites/rulesetmultiqueue.conf \
 
291
           omruleset.sh \
 
292
           testsuites/omruleset.conf \
 
293
           omruleset-queue.sh \
 
294
           testsuites/omruleset-queue.conf \
 
295
           badqi.sh \
 
296
           testsuites/badqi.conf \
 
297
           bad_qi/dbq.qi \
201
298
           execonlyonce.sh \
202
299
           testsuites/execonlyonce.conf \
203
300
           testsuites/execonlyonce.data \
204
 
           DiagTalker.java \
 
301
           execonlywhenprevsuspended.sh \
 
302
           testsuites/execonlywhenprevsuspended.conf \
 
303
           execonlywhenprevsuspended2.sh \
 
304
           testsuites/execonlywhenprevsuspended2.conf \
 
305
           execonlywhenprevsuspended3.sh \
 
306
           testsuites/execonlywhenprevsuspended3.conf \
 
307
           execonlywhenprevsuspended4.sh \
 
308
           testsuites/execonlywhenprevsuspended4.conf \
 
309
           tabescape_dflt.sh \
 
310
           testsuites/tabescape_dflt.conf \
 
311
           testsuites/1.tabescape_dflt \
 
312
           tabescape_off.sh \
 
313
           testsuites/tabescape_off.conf \
 
314
           testsuites/1.tabescape_off \
 
315
           dircreate_dflt.sh \
 
316
           testsuites/dircreate_dflt.conf \
 
317
           dircreate_off.sh \
 
318
           testsuites/dircreate_off.conf \
205
319
           cfg.sh
206
320
 
207
321
ourtail_SOURCES = ourtail.c
 
322
msleep_SOURCES = msleep.c
208
323
chkseq_SOURCES = chkseq.c
209
324
 
 
325
uxsockrcvr_SOURCES = uxsockrcvr.c
 
326
uxsockrcvr_LDADD = $(SOL_LIBS)
 
327
 
210
328
tcpflood_SOURCES = tcpflood.c
211
329
tcpflood_LDADD = $(SOL_LIBS)
212
330
 
 
331
syslog_caller_SOURCES = syslog_caller.c
 
332
syslog_caller_LDADD = $(SOL_LIBS)
 
333
 
 
334
diagtalker_SOURCES = diagtalker.c
 
335
diagtalker_LDADD = $(SOL_LIBS)
 
336
 
213
337
randomgen_SOURCES = randomgen.c
214
338
randomgen_LDADD = $(SOL_LIBS)
215
339