diff --git a/.gitattributes b/.gitattributes index a38765307f7f163f7b8fa8920de71c071d8f29d4..741366267eed2fdeb835112be5158f24364f632c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5564,7 +5564,6 @@ SubSystems/Online_Cobalt/validation/cobalt/network/resolvconf.test eol=lf SubSystems/Online_Cobalt/validation/intercluster/c3/cexec -text SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2cep.test eol=lf SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2cobalt.test eol=lf -SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test eol=lf SubSystems/Online_Cobalt/validation/intercluster/ethernet/iperf-cobalt2locus.bw-req -text SubSystems/Online_Cobalt/validation/intercluster/ethernet/iperf-cobalt2locus.test -text SubSystems/Online_Cobalt/validation/intercluster/funcs.sh eol=lf diff --git a/SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test b/SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test deleted file mode 100755 index e827fb5bb8ff47dc2e70c9e77f67f9e44e62ef52..0000000000000000000000000000000000000000 --- a/SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -ve -# -# Test connectivity from Cobalt to the Locus nodes locus001..locus100 -# -# This test is a big awkward, because we cannot assume that every locus node -# is online. Therefore, we execute the same command, using cexec, both -# from the CEP2 head node (lhn001), and from the current node. The outputs -# should be the same. -# -# $Id$ - -# Source useful functions. -. $(dirname $0)/../funcs.sh - -# Path to our local cexec program. -CEXEC=$(cd $(dirname $0)/../c3 && pwd)/cexec || exit - -# Setup cleanup handler. -trap 'STATUS=$?; rm -rf -- "$TMPDIR"; exit $STATUS' 0 1 2 3 15 - -# Create temporary directory for output files -TMPDIR=$(mktemp -dt "$(basename $0).XXXXXX") || exit - -# Filenames for our output files. -C3_CONF=$TMPDIR/c3.conf -LHN_LOCUS=$TMPDIR/lhn.locus -CBM_LOCUS=$TMPDIR/cbm.locus - -# Path to remote cexec command -C3_PATH=$(dirname $(run_command "ssh lhn001 which cexec")) || exit - -# Retrieve the c3.conf file from lhn001. -run_command "scp lhn001:/etc/c3.conf $C3_CONF" || exit - -# Retrieve the list of locus nodes reachable from lhn001 -run_command "ssh lhn001 cexec locus: hostname" | \ - grep '^locus' > $LHN_LOCUS || exit - -# Retrieve the list of locus nodes reachable from localhost -C3_PATH=$C3_PATH run_command "$CEXEC -f $C3_CONF locus: hostname" | \ - grep '^locus' > $CBM_LOCUS || exit - -# Compare the results. -diff -s $LHN_LOCUS $CBM_LOCUS - -exit 0