]> granicus.if.org Git - libevent/commit
Fix test.sh on freebsd
authorNick Mathewson <nickm@torproject.org>
Sat, 8 May 2010 23:56:25 +0000 (19:56 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 8 May 2010 23:56:25 +0000 (19:56 -0400)
commit3d9e05b17498c8b982a8d34031341fbe9b6dbb0e
treee3211dbcd5f572e81982d327c60353be3275f7d7
parent0ee6f6ce805570576755142d28022c27446e27cc
Fix test.sh on freebsd

It turns out that in all conformant shells, "unset FOO" removes FOO
both from the shell's variables and from the exported environment.
(I've tested this on msys, opensolaris, linux, osx, and freebsd.)

And in nearly every shell I can find, "unset FOO; export FOO" does
the same as unset FOO... except in my FreeBSD VM, where the "export
FOO" sets the exported value of FOO equal to "".  This broke test.sh
for us.

The fix is simple: remove the needless exports!
test/test.sh