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

. ./test-common.sh

cleanup 59

# ------------------------------- Test 59 ------------------------------------
# Test renamecopy in debug mode, nothing should happen
preptest test.log 59 1 0
touch test.log.1
touch test.log.2
$RLR test-config.59 --force -d 2>/dev/null || exit 23

checkoutput <<EOF
test.log 0 zero
EOF

rm -f test.log.1
rm -f test.log.2