[test] setenv() failure in util/expand_filename: test: environment corrupt; missing value for MAKEOVER

With tor commit 3df954549232bf5516ba5fce13c66a3ac91524a4 :

on FreeBSD 10.3-STABLE (r311284), FreeBSD version 1003511 libc seems to have trouble using setenv() and issues a warning about NULL pointer assigned to the MAKEOVER environment variable.

As a result, setenv() does not complete and the test fails:

util/expand_filename: test: environment corrupt; missing value for MAKEOVER

  FAIL ../tor/src/test/test_util.c:1725: assert("/home/itv/" OP_EQ str): </home/itv/> vs </home/saper/>
  [expand_filename FAILED]

This is almost certainly not a bug in tor, logging for further investigation.

Trac:
Username: saper