Skip to content

Commit 244448a

Browse files
committed
Updates to phase output capturing logic
1 parent afb197a commit 244448a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

SIT/test.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ fi
3737
_captureOutput() {
3838
_info "Copying ${DOCKER_CDM}:/${testDir} into ${testDir}/output"
3939
docker cp ${DOCKER_CDM}:/${testDir} ${testDir}/output
40-
_info "Moving ${testDir}/output/$(basename ${testDir})/*.out TO ${testDir}/output"
41-
mv ${testDir}/output/$(basename ${testDir})/*.out ${testDir}/output
42-
_info "Moving ${testDir}/output/$(basename ${testDir})/*.err TO ${testDir}/output"
43-
mv ${testDir}/output/$(basename ${testDir})/*.err ${testDir}/output
44-
_info "Removing ${testDir}/output/$(basename ${testDir})"
45-
rm -rf ${testDir}/output/$(basename ${testDir})
40+
_info "Moving ${testDir}/output/*.out TO ${testDir}/output"
41+
mv ${testDir}/output/*.out ${testDir}/output
42+
_info "Moving ${testDir}/output/*.err TO ${testDir}/output"
43+
mv ${testDir}/output/*.err ${testDir}/output
4644
}
4745

4846
EXPECTED_FILES="setup.cql expected.cql expected.out execute.sh"

0 commit comments

Comments
 (0)