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
  • #22302

Closed (moved)
(moved)
Open
Created May 19, 2017 by Taylor Yu@catalyst

test-network.sh uses a deprecated arithmetic syntax

test-network.sh uses a deprecated bash-specific syntax to do arithmetic. This fails on systems like Ubuntu and Debian that use dash instead of bash for /bin/sh. test-network.sh should probably use the POSIX $((arithmetic_expr)) syntax instead.

Typical error from the log files:

/home/tlyu/src/tor/../chutney/tools/test-network.sh: 302: [: Illegal number: $[n_rounds+1]
Completed $[n_rounds+1] of 1 verify rounds.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking