Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #4174

Closed (moved)
(moved)
Open
Created Oct 03, 2011 by Dan Auerbach@dtauerbach

trivial_validate script does not work on OS X

When trying to run makexpi.sh on my OS X machine, trivial_validate fails. Here is the output:

""" bash-3.2$ ./makexpi.sh -- Rules not anchored to beginning of a line: (None.)

-- Rules with unescaped dots outside of brackets and left of a slash: (None.)

-- Rules with backslashes in to pattern: (None.)

-- Rules not containing trailing slash in from pattern: (None.)

-- Rules not containing trailing slash in to pattern: (None.)

-- Rules with missing closing slash in rule XML tag: (None.)

-- Rules with multiple wildcards in a single target rule: (None.)

-- Rules with targets containing URLs/paths instead of hostnames: (None.)

-- Rules redirecting to http in to pattern: (None.)

-- Rules containing space before to pattern: (None.)

-- Rules with syntactically invalid regular expressions: BYU.xml HSBC.xml University-of-North-Texas.xml

-- Rules with syntatically invalid XML: (None.)

-- Rules containing non-ASCII characters (possible homoglyph attacks): (None.)

--- Rules that lack at least one valid tag: (None.)

--- Duplicated ruleset names: (None.)

--- Duplicated target hosts: .facebook.com .google.com facebook.com google. google.co. google.com google.com.* www.google.* www.google.co.* www.google.com www.google.com.* (not exiting) ERROR: Validation of rulesets failed. """

I understand this works on Linux, and might relate to different bash semantics. It seems using trivial_validate.py would fix this problem.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking