Project

General

Profile

Actions

Bug #500

open

duplicate values in host-os-policy not detected

Added by Victor Julien almost 12 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:

Description

Duplicate values like below are not handled properly.

host-os-policy:
  # Make the default policy windows.
  windows: ["1.2.3.4"]
  bsd: ["1.2.3.4"]
  bsd-right: []
  old-linux: []
  linux: ["1.2.3.4"]
  old-solaris: []
  solaris: ["1.2.3.4"]
  hpux10: ["1.2.3.4"]
  hpux11: ["1.2.3.4"]
  irix: ["1.2.3.4"]
  macos: ["1.2.3.4"]
  vista: ["1.2.3.4"]
  windows2k3: ["1.2.3.4"]

Please make sure we error out on this condition.

Please also add unittests.

Actions

Also available in: Atom PDF