aboutsummaryrefslogtreecommitdiff
path: root/src/internal/WixInternal.TestSupport/DisposableFileSystem.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2023-03-23 14:36:09 -0700
committerRob Mensching <rob@firegiant.com>2023-03-23 21:48:29 -0700
commit38fe36a2072b1abde87b52643e43a3d7ddf2a2f5 (patch)
tree96289f7d4ab6574bb07fee5e61bf6c1b7fcc4b12 /src/internal/WixInternal.TestSupport/DisposableFileSystem.cs
parent2426cee1fc8c6e809c5a37abdf9d722a6e8e3a33 (diff)
downloadwix-38fe36a2072b1abde87b52643e43a3d7ddf2a2f5.tar.gz
wix-38fe36a2072b1abde87b52643e43a3d7ddf2a2f5.tar.bz2
wix-38fe36a2072b1abde87b52643e43a3d7ddf2a2f5.zip
Always add space to to test folder to flush out such bugs
Diffstat (limited to 'src/internal/WixInternal.TestSupport/DisposableFileSystem.cs')
-rw-r--r--src/internal/WixInternal.TestSupport/DisposableFileSystem.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/WixInternal.TestSupport/DisposableFileSystem.cs b/src/internal/WixInternal.TestSupport/DisposableFileSystem.cs
index b03bbaa4..edf1f803 100644
--- a/src/internal/WixInternal.TestSupport/DisposableFileSystem.cs
+++ b/src/internal/WixInternal.TestSupport/DisposableFileSystem.cs
@@ -35,7 +35,8 @@ namespace WixInternal.TestSupport
35 35
36 public string GetFolder(bool create = false) 36 public string GetFolder(bool create = false)
37 { 37 {
38 var path = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); 38 // Always return a path with a space in it.
39 var path = Path.Combine(Path.GetTempPath(), ".WIXTEST " + Path.GetRandomFileName());
39 40
40 if (create) 41 if (create)
41 { 42 {