VxWorks 6.x can make environment variables private to each thread, which doesn't work too well. A test failure on VxWorks explains how to change the image configuration to fix this.