[msi/tests] Fix a test for systems with %TEMP% being less than 2 levels deep

Paul Vriens paul.vriens.wine at gmail.com
Thu Mar 12 05:11:54 CDT 2009


Hi,

This fixes a longstanding known issue on NT4 boxes that have %TEMP% only 1 level
deep (by default).

These tests now succeed even when %TEMP% is set to 'C:'.

The basic tests that this testblock performed were:

1. relative msifile "..\msifile.msi"
2. absolute msifile "c:\%TEMP%\msifile.msi"
3. msifile "%TEMP%\msifile.msi" run from the root directory (extracted from %TEMP%).

This patch still does the same thing. The only difference is that if %TEMP% is
set to the systemdrive (which is not recommended ;)) the last test is not very
useful.

Changelog
   Fix a test for systems with %TEMP% being less than 2 levels deep

-- 
Cheers,

Paul.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-Fix-a-test-for-systems-with-TEMP-being-less-than-2.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090312/542988f4/attachment-0001.txt>


More information about the wine-patches mailing list