Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Restart Test Validation #202

Merged
merged 9 commits into from
Oct 19, 2018
Prev Previous commit
Add a brief workaround to handle asterisks in the log file in compare…
…bfb.csh
  • Loading branch information
turner committed Oct 12, 2018
commit 2c9322570e613387a7f5644b899690d9bd72ee43
5 changes: 5 additions & 0 deletions configuration/scripts/tests/comparebfb.csh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ if ( $logcmp == 1 ) then
exit 1
endif

# Replace all asterisks (*) with a period (!) as workaround for errors
# encountered looping through words with asterisks in csh
set base_out = `echo "$base_out" | sed 's/\*/./g'`
set test_out = `echo "$test_out" | sed 's/\*/./g'`

set failure = 0
# Loop through each line of diagnostic output and check for differences
foreach line ( "`echo '$base_out' | tr ',' '\n'`" )
Expand Down