Skip to content

Commit

Permalink
check for lanplus capability (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Oct 24, 2017
1 parent 3ad282c commit 05047c5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/oob/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ TESTS_ENVIRONMENT = BATS_NO_SUMMARY=1
TESTS = init.sh
TESTS += ipmitool
TESTS += conman
TESTS += warewulf-ipmi

CLEANFILES=$(wildcard *.xml)
19 changes: 19 additions & 0 deletions tests/oob/warewulf-ipmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!../common/bats/bin/bats
# -*-sh-*-

load ../common/test_helper_functions
source ../common/functions || exit 1

if [ -s ../TEST_ENV ];then
source ../TEST_ENV
fi

if [ -n "$IPMI_PASSWORD" ];then
export IPMI_PASSWORD
fi

@test "[warewulf-ipmi] ipmitool compiled with lanplus" {
run `rpm -ql warewulf-ipmi-ohpc | grep ipmitool` -I lanplus
assert_success
}

0 comments on commit 05047c5

Please sign in to comment.