From: Richard W.M. Jones Date: Wed, 31 Oct 2018 15:35:34 +0000 (+0000) Subject: tests: Fix tests when run on AWS. X-Git-Tag: v1.19~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4bceb38a6102ca95bde79205efaa643a0824d3a2;p=virt-what.git tests: Fix tests when run on AWS. When running on AWS two of the tests failed. This was because the tests did _not_ include a working dmidecode binary, hence the platform dmidecode binary was being run instead, and that was detecting as AWS owing to the previous commit. Fix this by supplying a working dmidecode binary for those tests. --- diff --git a/tests/ldoms/sbin/dmidecode b/tests/ldoms/sbin/dmidecode new file mode 100755 index 0000000..3efbee3 --- /dev/null +++ b/tests/ldoms/sbin/dmidecode @@ -0,0 +1,3 @@ +#!/bin/sh - +# dmidecode fails on this platform. +exit 1 diff --git a/tests/ppc64-baremetal/sbin/dmidecode b/tests/ppc64-baremetal/sbin/dmidecode old mode 100644 new mode 100755