2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Revise InfiniBand test case

This commit is contained in:
GONG Jie 2017-08-25 15:18:39 +08:00
parent 32404bcc9a
commit 89cb4ecdf1
3 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
start:rhel_infiniband_diskless_install
description:Intigration test of RHEL 7 and MLNX OFED for diskless installation. Need to set MLNX variable in the test configuration file.
cmd:RHEL_ISO="$$ISO" LINUX_DISTRO="GETNODEATTR($$CN, os)" COMPUTE_NODE="$$CN" MLNX_ISO="$$MLNX" DKMS_RPM="$$DKMS" /opt/xcat/share/xcat/tools/autotest/testcase/infiniband/rhel-infiniband-diskless-install.sh
check:rc==0
end
start:rhel_infiniband_diskfull_install
description:Intigration test of RHEL 7 and MLNX OFED for diskfull installation. Need to set MLNX variable in the test configuration file.
cmd:RHEL_ISO="$$ISO" LINUX_DISTRO="GETNODEATTR($$CN, os)" COMPUTE_NODE="$$CN" MLNX_ISO="$$MLNX" DKMS_RPM="$$DKMS" /opt/xcat/share/xcat/tools/autotest/testcase/infiniband/rhel-infiniband-diskfull-install.sh
check:rc==0
end

View File

@ -145,7 +145,7 @@ mkdir -p "${OSIMAGE_OTHERPKGDIR}"
mkdir -p "${OSIMAGE_OTHERPKGDIR}"/dkms
[ -f "${DKMS_RPM}" ]
[ "$?" -ne "0" ] && echo "File ${DKMS_RPM} not found." >&2 && exit 1
[ "$?" -ne "0" ] && echo "File ${DKMS_RPM} not found." >&2
cp "${DKMS_RPM}" "${OSIMAGE_OTHERPKGDIR}/dkms"
( cd "${OSIMAGE_OTHERPKGDIR}" && createrepo . )

View File

@ -154,7 +154,7 @@ mkdir -p "${OSIMAGE_OTHERPKGDIR}"
mkdir -p "${OSIMAGE_OTHERPKGDIR}"/dkms
[ -f "${DKMS_RPM}" ]
[ "$?" -ne "0" ] && echo "File ${DKMS_RPM} not found." >&2 && exit 1
[ "$?" -ne "0" ] && echo "File ${DKMS_RPM} not found." >&2
cp "${DKMS_RPM}" "${OSIMAGE_OTHERPKGDIR}/dkms"
( cd "${OSIMAGE_OTHERPKGDIR}" && createrepo . )