Skip to content

Commit 6ac8a1a

Browse files
committed
tests: fix wixl-heat test for hash value unstability
Probably the sorting should happen in wixl-heat, though.
1 parent 5f2e62d commit 6ac8a1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/wixl.at

+4-2
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,17 @@ AT_CHECK_WIXL([-o out.msi test-arp.wxs], [0], [ignore], [ignore])
107107
AT_CHECK([test -f out.msi], [0])
108108
AT_CLEANUP
109109

110+
AT_BANNER([wixl-heat])
111+
110112
AT_SETUP([Heat])
111113
mkdir -p test/a/b test/c
112114
touch test/a/file test/c/file
113115
find test > list
114-
AT_CHECK([cat list | _wixl_heat -p test/ | grep File], [0],
116+
AT_CHECK([cat list | _wixl_heat -p test/ | grep File | sort], [0],
115117
[ <File Id="fil1C4ED87DDF872C3D730CE70E5F0B56D2" KeyPath="yes" Source="SourceDir/a/file"/>
116118
<File Id="filA95C2C271801F96CC9C5D672A7E6CC66" KeyPath="yes" Source="SourceDir/c/file"/>
117119
], [ignore])
118-
AT_CHECK([cat list | _wixl_heat -p test/ -x c | grep File], [0],
120+
AT_CHECK([cat list | _wixl_heat -p test/ -x c | grep File | sort], [0],
119121
[ <File Id="fil1C4ED87DDF872C3D730CE70E5F0B56D2" KeyPath="yes" Source="SourceDir/a/file"/>
120122
], [ignore])
121123
AT_CLEANUP

0 commit comments

Comments
 (0)