File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -722,9 +722,11 @@ function checkAuxiliaryImage() {
722
722
rm -f ${AUXILIARY_IMAGE_PATH} /testaccess.tmp || return 1
723
723
724
724
# The container .out files embed their container name, the names will sort in the same order in which the containers ran
725
- out_files=$( set -o pipefail ; ls -1 $AUXILIARY_IMAGE_PATH /auxiliaryImageLogs/* .out > /dev/null 2>&1 | sort --version-sort) \
726
- || (trace SEVERE " Auxiliary Image: Assertion failure. No files found in '$AUXILIARY_IMAGE_PATH /auxiliaryImageLogs/*.out" \
727
- && return 1)
725
+ out_files=$( ls -1 $AUXILIARY_IMAGE_PATH /auxiliaryImageLogs/* .out 2> /dev/null | sort --version-sort)
726
+ if [ -z ${out_files} ]; then
727
+ trace SEVERE " Auxiliary Image: Assertion failure. No files found in '$AUXILIARY_IMAGE_PATH /auxiliaryImageLogs/*.out'"
728
+ return 1
729
+ fi
728
730
severe_found=false
729
731
for out_file in $out_files ; do
730
732
if [ " $( grep -c SEVERE $out_file ) " != " 0" ]; then
You can’t perform that action at this time.
0 commit comments