File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ function createVhostFile {
176
176
if [ ! -f " $vhostPath " ]; then
177
177
echoValidationGroupStart " Create .phpbenchmarks/vhost.conf"
178
178
179
- cp " $BENCHMARK_KIT_PATHvalidation /mainRepository/.phpbenchmarks/vhost.conf" " $INSTALLATION_PATH /.phpbenchmarks/"
179
+ cp " $BENCHMARK_KIT_PATH /validation /mainRepository/.phpbenchmarks/vhost.conf" " $INSTALLATION_PATH /.phpbenchmarks/"
180
180
[ $? != " 0" ] && exitScript " Error while writing $vhostPath ."
181
181
echoValidatedTest " File created."
182
182
echoValidationWarning " .phpbenchmarks/vhost.conf has been created with default nginx virtual host configuration. Edit it if needed."
Original file line number Diff line number Diff line change @@ -100,11 +100,9 @@ function assertInitBenchmark {
100
100
assertConfigurationFileExist " initBenchmark.sh"
101
101
102
102
source $CONFIGURATION_PATH /initBenchmark.sh
103
- [ " $? " != " 0" ] && validationFailedExit " File init_benchmark.sh could not be included."
103
+ [ " $? " != " 0" ] && exitScript " File init_benchmark.sh could not be included."
104
104
105
105
type initBenchmark & > /dev/null
106
- [ " $? " != " 0" ] \
107
- && cat /tmp/phpbenchmarks.docker.build \
108
- && validationFailedExit " Function init_benchmark.sh::initBenchmark() does not exist. See README.md for more informations."
106
+ [ " $? " != " 0" ] && exitScript " Function init_benchmark.sh::initBenchmark() does not exist. See README.md for more informations."
109
107
echoValidatedTest " [.phpbenchmarks/initBenchmark.sh] Function initBenchmark() exist."
110
108
}
You can’t perform that action at this time.
0 commit comments