add stderr redirect for executing tests

add libdir detection for some special cases - partially resolves issue #440

revert last commit, because it reverted bug fix #570

(0) -100 -30 -10 -3 +3 +10 +30 tip

mercurial