Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #4174

Closed (moved)
Open
Opened 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 admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#4174