View | Details | Raw Unified | Return to bug 1192449
Collapse All | Expand All

(-)logrotate-3.13.0/test/Makefile.am (-1 / +3 lines)
Lines 76-82 TEST_CASES = \ Link Here
76
	test-0075.sh \
76
	test-0075.sh \
77
	test-0076.sh \
77
	test-0076.sh \
78
	test-0100.sh \
78
	test-0100.sh \
79
	test-0101.sh
79
	test-0101.sh \
80
	test-0102.sh \
81
	test-0103.sh
80
82
81
EXTRA_DIST = \
83
EXTRA_DIST = \
82
	compress \
84
	compress \
(-)logrotate-3.13.0/test/test-0102.sh (+16 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
. ./test-common.sh
4
5
cleanup 102
6
7
# ------------------------------- Test 102 ------------------------------------
8
# test invalid config file with binary content
9
preptest test.log 102 1
10
11
$RLR test-config.102 --force
12
13
if [ $? -eq 0 ]; then
14
   echo "No error, but there should be one."
15
   exit 3
16
fi
(-)logrotate-3.13.0/test/test-0103.sh (+16 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
. ./test-common.sh
4
5
cleanup 103
6
7
# ------------------------------- Test 103 ------------------------------------
8
# test invalid config file with unknown keywords
9
preptest test.log 103 1
10
11
$RLR test-config.103 --force
12
13
if [ $? -eq 0 ]; then
14
   echo "No error, but there should be one."
15
   exit 3
16
fi
(-)logrotate-3.13.0/test/test-config.102.in (+10 lines)
Line 0 Link Here
1
ELF
2
3
&DIR&/test.log {
4
 daily
5
 size=0
6
7
firstaction
8
 /bin/sh -c "echo test123"
9
 endscript
10
}
(-)logrotate-3.13.0/test/test-config.103.in (+12 lines)
Line 0 Link Here
1
random noise
2
a b c d
3
a::x
4
5
&DIR&/test.log {
6
 daily
7
 size=0
8
9
firstaction
10
 /bin/sh -c "echo test123"
11
 endscript
12
}
(-)logrotate-3.13.0/test/Makefile.in (-1 / +3 lines)
Lines 503-509 TEST_CASES = \ Link Here
503
	test-0075.sh \
503
	test-0075.sh \
504
	test-0076.sh \
504
	test-0076.sh \
505
	test-0100.sh \
505
	test-0100.sh \
506
	test-0101.sh
506
	test-0101.sh \
507
	test-0102.sh \
508
	test-0103.sh
507
509
508
EXTRA_DIST = \
510
EXTRA_DIST = \
509
	compress \
511
	compress \

Return to bug 1192449