File: test-0081.sh

package info (click to toggle)
logrotate 3.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,152 kB
  • sloc: sh: 6,666; ansic: 5,245; makefile: 161
file content (13 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

. ./test-common.sh

cleanup 81

# ------------------------------- Test 81 ------------------------------------
# size option and the time interval option are mutually exclusive, so the user
# should be warned, but only if they are used inside the same log config
preptest test.log 81 1 0

! $RLR -d test-config.81 2>&1 | \
    grep -q "warning: '.*' overrides previously specified '.*'"