diff --git a/xCAT-server/share/xcat/tools/test_hca_state b/xCAT-server/share/xcat/tools/test_hca_state new file mode 100755 index 000000000..5fbe813b5 --- /dev/null +++ b/xCAT-server/share/xcat/tools/test_hca_state @@ -0,0 +1,161 @@ +#!/bin/bash + +# +# 2012.08.19 Brian Elliott Finley +# - created +# 2013.02.17 Brian Elliott Finley +# - added --help output +# + +# +# As per Nate Rini : +# +# The following (Red Hat) rpms include the version of pciutils (aka +# lspci) that can read gen3 correctly. +# +# pciutils-3.1.10-2.el6.x86_64.rpmĀ  +# pciutils-libs-3.1.10-2.el6.x86_64.rpm +# +# This may impact the "PCI:" speed test performed by this script. +# + +NR=$1 + +offer_help() { + + PROGNAME=$(basename $0) + + # At some point, source a file for this info for the whole suite + VERSION=3.2.27 + + cat <