TUT: verificationAndValidation Allrun uses bash

STYLE: double-quote "$@" for isTest/notTest
This commit is contained in:
Mark Olesen
2020-03-30 21:14:29 +02:00
parent 8a4ea197cd
commit 9b1c0786ce
36 changed files with 50 additions and 43 deletions

View File

@ -29,7 +29,7 @@ run resolved
# Run with the plenum modelled by a boundary condition
run modelled
if notTest $@
if notTest "$@"
then
# Plot a comparison of the pressure in the neck
cat << EOF | gnuplot -persist

View File

@ -27,7 +27,7 @@ setDecompressionTankFine()
# Do decompressionTank
( cd decompressionTank && foamRunTutorials )
if notTest $@
if notTest "$@"
then
# Clone case
cloneCase decompressionTank decompressionTankFine