diff options
Diffstat (limited to 'mcs/class/Mono.Security/Test/Mono.Security.Authenticode/PrivateKeyTest.cs')
-rw-r--r-- | mcs/class/Mono.Security/Test/Mono.Security.Authenticode/PrivateKeyTest.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/PrivateKeyTest.cs b/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/PrivateKeyTest.cs index ee8145cff6b..0f529496e11 100644 --- a/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/PrivateKeyTest.cs +++ b/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/PrivateKeyTest.cs @@ -96,7 +96,13 @@ public class PrivateKeyTest : Assertion { Assert (msg, a); } - private const string testfile = "test.pvk"; + string testfile; + + [TestFixtureSetUp] + public void FixtureSetup () + { + testfile = Path.Combine (Path.GetTempPath (), "test.pvk"); + } [TearDown] public void TearDown () |