Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
steevanb committed Jan 28, 2019
1 parent 8b60c94 commit deed88e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validation/configurationValidation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ function assertInitBenchmark {
assertConfigurationFileExist "initBenchmark.sh"

source $CONFIGURATION_PATH/initBenchmark.sh
[ "$?" != "0" ] && exitScript "File init_benchmark.sh could not be included."
[ "$?" != "0" ] && exitScript "File .phpbenchmarks/initBenchmark.sh could not be included."

type initBenchmark &>/dev/null
[ "$?" != "0" ] && exitScript "Function init_benchmark.sh::initBenchmark() does not exist. See README.md for more informations."
[ "$?" != "0" ] && exitScript "Function .phpbenchmarks/initBenchmark.sh::initBenchmark() does not exist. See README.md for more informations."
echoValidatedTest "[.phpbenchmarks/initBenchmark.sh] Function initBenchmark() exist."
}

0 comments on commit deed88e

Please sign in to comment.