On Wed, Aug 20, 2014 at 11:38:33AM +0200, Pino Toscano wrote:
Extend test-basic.sh to check that at least one driver is available,
so
it's easier to check for missing bits that prevent supermin to work.
---
tests/test-basic.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index d91bbd9..fefc152 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -26,3 +26,7 @@ set -e
# Check that listing drivers work
../src/supermin --list-drivers
+
+# Check at least one driver is detected
+echo
+../src/supermin --list-drivers | grep -v not-detected
--
ACK.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top