[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27096 [Core Tor/Tor]: Stop relying on $HOME being set in the unit tests



#27096: Stop relying on $HOME being set in the unit tests
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.8.1-alpha
     Severity:  Normal        |   Keywords:  tor-test
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27096>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs