From a92491ad305980c3dcfea46b570bd1a4f06015c4 Mon Sep 17 00:00:00 2001 From: Dennis Potter Date: Wed, 25 Jul 2018 18:50:58 +0200 Subject: [PATCH] Fixed minor bug --- tests/integration/node-infiniband.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/node-infiniband.sh b/tests/integration/node-infiniband.sh index 59cc9977f..2063472aa 100755 --- a/tests/integration/node-infiniband.sh +++ b/tests/integration/node-infiniband.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Integration loopback test using villas-node. +# Integration Infiniband test using villas-node. # # @author Dennis Potter # @copyright 2018, Institute for Automation of Complex Power Systems, EONERC @@ -29,7 +29,7 @@ if [[ "$EUID" -ne 0 ]]; then fi # Check if Infiniband card is present -if [[ $(lspci | grep Infiniband) == 0 ]]; then +if [[ ! $(lspci | grep Infiniband) ]]; then echo "Found no Infiniband cards in system" exit 99 fi