File: 21_dnssec_invalid_options.sh

package info (click to toggle)
openvpn-systemd-resolved 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: sh: 706; makefile: 35
file content (17 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
script_type="up"
dev="tun21"

TEST_BUSCTL_CALLED=0
EXPECT_FAILURE=1

declare -a test_invalids=(
  '1'
  '0'
  'DOWNGRADE'
)

for test_option in "${test_invalids[@]}"; do
  TEST_TITLE="DNSSEC Set to $test_option"
  foreign_option_1="dhcp-option DNSSEC $test_option"
  runtest
done