File: t-tight

package info (click to toggle)
dkim-rotate 1.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: perl: 832; sh: 324; makefile: 55
file content (28 lines) | stat: -rwxr-xr-x 608 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
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Copyright 2022 Ian Jackson and contributors to dkim-rotate
# SPDX-License-Identifier: GPL-3.0-or-later
# There is NO WARRANTY.

set -ex

. tests/lib

cat >>$tmp/etc/test.zone <<END -
! max_selector 5
END

day 0 --new
for d in 1 2 3 4 5 6; do day $d; done

diff -ub - $tmp/out.6.+0.done <<END
test                 (e) +X  R revealed.
test                  a  +0 +N advanced; now emails percolating.
test                  e  -1 +0 advanced; now in use.
END

diff -ub - $tmp/out.6.+18.done <<END
test                  d  +N +X deadvertised.
test                  d     -1 generated.
END

echo ok.