Skip to content
Snippets Groups Projects
Commit e8aefe0e authored by Cedric Caffy's avatar Cedric Caffy
Browse files

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

parent 3701b51e
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ nbFilesToRetrieve=${#FILES_LOCATION[@]} ...@@ -40,7 +40,7 @@ nbFilesToRetrieve=${#FILES_LOCATION[@]}
KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 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 nbFilesRetrieved=0
SECONDS_PASSED=0 SECONDS_PASSED=0
......
...@@ -549,7 +549,7 @@ repackTapeRepairNoRecall() { ...@@ -549,7 +549,7 @@ repackTapeRepairNoRecall() {
echo "retrievedFiles ($retrievedFiles) == totalFilesToRetrieve ($totalFilesToRetrieve), OK" echo "retrievedFiles ($retrievedFiles) == totalFilesToRetrieve ($totalFilesToRetrieve), OK"
fi fi
if [[ $archivedFiles != $totalFilesToArchive ]] if [[ $archivedFiles != $totalFilesToArchive || $userProvidedFiles != $archivedFiles ]]
then then
echo "archivedFiles ($archivedFiles) != totalFilesToArchive ($totalFilesToArchive), test FAILED" echo "archivedFiles ($archivedFiles) != totalFilesToArchive ($totalFilesToArchive), test FAILED"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment