saltstack/salt — pull request #2171 by s0undt3ch (2012-10-05 02:03:14+00:00)
Title: Switch integration `tmp` to the system's temporary directory.

While running the tests within a VirtualBox(vagrant) machine, if the salt source is mounted using shared folders, any tests involving hard links WILL fail. Any tests involving symlinks, can be made to work by setting some properties on the VirtualBox shared folder. By moving the tests `tmp` directory to `tempfile.gettempdir()` we avoid this false test case errors.