Skip to content

Conversation

@jshum2479
Copy link
Member

This fixes the missing output from WDT compareModel tool when the tool failed itself and not creating the compare_model_output file, using redirected terminal output instead.

@jshum2479 jshum2479 requested review from rjeberhard and tbarnes-us May 3, 2021 16:59
Remove outdated comment
Copy link

@tbarnes-us tbarnes-us left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I deleted the outdated comment above the change.


# no need to redirect output, -output_dir for compareModel will generate the output file
${WDT_BINDIR}/compareModel.sh -oracle_home ${ORACLE_HOME} -output_dir /tmp $1 $2 > /dev/null 2>&1
${WDT_BINDIR}/compareModel.sh -oracle_home ${ORACLE_HOME} -output_dir /tmp $1 $2 > ${WDT_OUTPUT} 2>&1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the double space after the > intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, I can remove it.

@rjeberhard rjeberhard merged commit 2b5cfa7 into main May 4, 2021
@jshum2479 jshum2479 deleted the fix-compare-tool-output branch December 2, 2021 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants