diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-16 13:03:17 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-16 13:43:06 +0100 |
commit | 6ac8a1a1adcf83155af90c2e855e3f7e9422274e (patch) | |
tree | 81fa5847035d83ec252df0587ae9d9a024c082c1 | |
parent | 5f2e62d58c9be8b37f22e093b8aa55f9fea8f9f1 (diff) | |
download | msitools-6ac8a1a1adcf83155af90c2e855e3f7e9422274e.tar.gz msitools-6ac8a1a1adcf83155af90c2e855e3f7e9422274e.tar.xz msitools-6ac8a1a1adcf83155af90c2e855e3f7e9422274e.zip |
tests: fix wixl-heat test for hash value unstability
Probably the sorting should happen in wixl-heat, though.
-rw-r--r-- | tests/wixl.at | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/wixl.at b/tests/wixl.at index d195a28..dd64533 100644 --- a/tests/wixl.at +++ b/tests/wixl.at @@ -107,15 +107,17 @@ AT_CHECK_WIXL([-o out.msi test-arp.wxs], [0], [ignore], [ignore]) AT_CHECK([test -f out.msi], [0]) AT_CLEANUP +AT_BANNER([wixl-heat]) + AT_SETUP([Heat]) mkdir -p test/a/b test/c touch test/a/file test/c/file find test > list -AT_CHECK([cat list | _wixl_heat -p test/ | grep File], [0], +AT_CHECK([cat list | _wixl_heat -p test/ | grep File | sort], [0], [ <File Id="fil1C4ED87DDF872C3D730CE70E5F0B56D2" KeyPath="yes" Source="SourceDir/a/file"/> <File Id="filA95C2C271801F96CC9C5D672A7E6CC66" KeyPath="yes" Source="SourceDir/c/file"/> ], [ignore]) -AT_CHECK([cat list | _wixl_heat -p test/ -x c | grep File], [0], +AT_CHECK([cat list | _wixl_heat -p test/ -x c | grep File | sort], [0], [ <File Id="fil1C4ED87DDF872C3D730CE70E5F0B56D2" KeyPath="yes" Source="SourceDir/a/file"/> ], [ignore]) AT_CLEANUP |