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

Closed (moved)
(moved)
Open
Created Aug 10, 2018 by teor@teor

Stop relying on $HOME being set in the unit tests

When I test Tor with $HOME unset, I see the following error:

options/validate__uname_for_server: [forking] 
  FAIL ../src/test/test_options.c:507: expected log to not contain entries  Captured logs:
    1. warn: "Couldn\'t find $HOME environment variable while expanding \"~/.tor\"; defaulting to \"\".\n"
    2. warn: "Default DataDirectory is \"~/.tor\".  This expands to \"/.tor\", which is probably not what you want.  Using \"/usr/local/var/tor\" instead\n"

  [validate__uname_for_server FAILED]

This test has been around since 0.2.8.1-alpha.

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