[tests] Fix tests on OS/X
authorMarek Habersack <grendel@twistedcode.net>
Thu, 16 Jul 2015 15:52:29 +0000 (17:52 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Thu, 16 Jul 2015 15:56:14 +0000 (17:56 +0200)
commit9b35dc2e9c968708c6f0949cd587b04760dca373
tree3d6c0e2a97a7cfc732340f3824dcb52dc766fd09
parent04114a5e9d141a4f424564fea95ac4480cb0a16a
[tests] Fix tests on OS/X

OS/X, like Android, uses a symlink for the $TMP directory. The tests used to assume
that the link points to the /private/tmp directory (which is the case) but earlier
changes introduced here for Android employed a more generic mechanism to determine the
actual temporary directory.
This commit removes the '/private' prefix assumption from OS/X
mcs/class/corlib/Test/System.IO/FileStreamTest.cs