mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Allrun: run in non-test mode. Handle ./Alltest correctly
This commit is contained in:
16
tutorials/IO/fileHandler/Alltest
Executable file
16
tutorials/IO/fileHandler/Alltest
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Reset the controlDict
|
||||
if [ -f system/controlDict.orig ]
|
||||
then
|
||||
echo "$0: restoring the controlDict from controlDict.orig"
|
||||
mv system/controlDict.orig system/controlDict
|
||||
fi
|
||||
|
||||
./Allrun
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user