From: Marek Habersack Date: Tue, 21 Jul 2015 22:12:24 +0000 (+0200) Subject: [tests] Fix path used by the test so that it works on Android 4.4.4 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=5c75836975c7879a0ade654455fcb5c83b172e11 [tests] Fix path used by the test so that it works on Android 4.4.4 --- diff --git a/mcs/class/Mono.Posix/Test/Mono.Unix/StdioFileStreamTest.cs b/mcs/class/Mono.Posix/Test/Mono.Unix/StdioFileStreamTest.cs index 23e26ea05cb..aaae08271ed 100644 --- a/mcs/class/Mono.Posix/Test/Mono.Unix/StdioFileStreamTest.cs +++ b/mcs/class/Mono.Posix/Test/Mono.Unix/StdioFileStreamTest.cs @@ -857,7 +857,8 @@ namespace MonoTests.System.IO [ExpectedException (typeof (NotSupportedException))] public void SetLengthWithClosedBaseStream () { - StdioFileStream fs = new StdioFileStream ("temp", FileMode.Create); + string path = TempFolder + Path.DirectorySeparatorChar + "temp"; + StdioFileStream fs = new StdioFileStream (path, FileMode.Create); BufferedStream bs = new BufferedStream (fs); fs.Close ();