Commit 659f886a authored by Cedric Caffy's avatar Cedric Caffy
Browse files

[CI] Added the "-s" flag to xrdfs prepare for repack tape repair test

parent db6f6d2f
......@@ -40,7 +40,7 @@ nbFilesToRetrieve=${#FILES_LOCATION[@]}
KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0
echo ${FILES_LOCATION[@]} | XrdSecPROTOCOL=krb5 KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 xargs --max-procs=10 -n 40 xrdfs ${EOSINSTANCE} prepare
echo ${FILES_LOCATION[@]} | XrdSecPROTOCOL=krb5 KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 xargs --max-procs=10 -n 40 xrdfs ${EOSINSTANCE} prepare -s
nbFilesRetrieved=0
SECONDS_PASSED=0
......
......@@ -549,7 +549,7 @@ repackTapeRepairNoRecall() {
echo "retrievedFiles ($retrievedFiles) == totalFilesToRetrieve ($totalFilesToRetrieve), OK"
fi
if [[ $archivedFiles != $totalFilesToArchive ]]
if [[ $archivedFiles != $totalFilesToArchive || $userProvidedFiles != $archivedFiles ]]
then
echo "archivedFiles ($archivedFiles) != totalFilesToArchive ($totalFilesToArchive), test FAILED"
exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment