From 7084deea242be114112e81b161001daf8dd01808 Mon Sep 17 00:00:00 2001
From: Michael Davis <michael.davis@cern.ch>
Date: Wed, 22 Jan 2020 11:56:34 +0100
Subject: [PATCH] [ci] Fixes can't use admin_cta bash function in an xargs
 expression

---
 continuousintegration/orchestration/tests/client_ar.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh
index 619c5392bd..5cef00973f 100644
--- a/continuousintegration/orchestration/tests/client_ar.sh
+++ b/continuousintegration/orchestration/tests/client_ar.sh
@@ -66,7 +66,7 @@ tapefile_ls()
   eos root://${EOSINSTANCE} find --fid ${EOS_DIR} |\
   admin_cta --json tape ls --fidfile /dev/stdin |\
   jq '.[] | .vid' |\
-  xargs admin_cta --json tapefile ls --lookupnamespace --vid |\
+  xargs env KRB5CCNAME=/tmp/${CTAADMIN_USER}/krb5cc_0 cta_admin --json tapefile ls --lookupnamespace --vid |\
   admin_cta --json tf ls --lookupnamespace --vid | jq '.[] | .df.path' |\
   sed 's/"//g' |\
   grep "^${EOS_DIR}"
-- 
GitLab