From b90e02283be7192e77a9b87f76b468d0ac3f3b90 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Mon, 25 Feb 2019 12:26:45 +0000
Subject: [PATCH] COB-49: removed obsolete cep2 test

---
 .gitattributes                                |  1 -
 .../connectivity/cobalt2locus.test            | 46 -------------------
 2 files changed, 47 deletions(-)
 delete mode 100755 SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2locus.test

diff --git a/.gitattributes b/.gitattributes
index a38765307f7..741366267ee 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 e827fb5bb8f..00000000000
--- 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
-- 
GitLab