File: test-0101.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 (14 lines) | stat: -rwxr-xr-x 217 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. ./test-common.sh

# check rotation with extension moved after the number
cleanup 101

preptest test.log 101 1 0
$RLR test-config.101 --force || exit 23

checkoutput <<EOF
test.log 0
test.1.log 0 zero
EOF