test: fix cgo errors before building

This commit is contained in:
Revant Nandgaonkar
2020-06-26 10:19:27 +05:30
parent 8beb6a284f
commit f77ca7726c
2 changed files with 10 additions and 13 deletions

View File

@@ -80,7 +80,7 @@ curl -sS http://test.localhost/api/method/version
echo -e "\n"
echo -e "\e[1m\e[4mCheck Created Site Index Page\e[0m"
curl -s http://test.localhost # | w3m -T text/html -dump
curl -s http://test.localhost | w3m -T text/html -dump
echo -e "\n"
echo -e "\e[1m\e[4mSet version to edge\e[0m"
@@ -94,12 +94,6 @@ docker-compose \
-f installation/docker-compose-erpnext.yml \
-f installation/erpnext-publish.yml \
stop
docker-compose \
--project-name frappebench00 \
-f installation/docker-compose-common.yml \
-f installation/docker-compose-erpnext.yml \
-f installation/erpnext-publish.yml \
pull
docker-compose \
--project-name frappebench00 \
-f installation/docker-compose-common.yml \
@@ -116,7 +110,7 @@ curl -sS http://test.localhost/api/method/version
echo -e "\n"
echo -e "\e[1m\e[4mCheck Migrated Site Index Page\e[0m"
curl -s http://test.localhost # | w3m -T text/html -dump
curl -s http://test.localhost | w3m -T text/html -dump
echo -e "\n"
echo -e "\e[1m\e[4mBackup site\e[0m"
@@ -227,7 +221,7 @@ echo $RESTORE_STATUS
echo -e "\n"
echo -e "\e[1m\e[4mCheck Restored Site Index Page\e[0m"
curl -s http://test.localhost # | w3m -T text/html -dump
curl -s http://test.localhost | w3m -T text/html -dump
echo -e "\n"
echo -e "\e[1m\e[4mCreate new site (edge)\e[0m"
@@ -266,7 +260,7 @@ echo $RESTORE_STATUS
echo -e "\n"
echo -e "\e[1m\e[4mCheck New Edge Index Page\e[0m"
curl -s http://edge.localhost # | w3m -T text/html -dump
curl -s http://edge.localhost | w3m -T text/html -dump
echo -e "\n"
echo -e "\e[1m\e[4mMigrate command in edge container\e[0m"
@@ -320,7 +314,7 @@ echo $RESTORE_STATUS
echo -e "\n"
echo -e "\e[1m\e[4mCheck Overwritten Index Page\e[0m"
curl -s http://test.localhost # | w3m -T text/html -dump
curl -s http://test.localhost | w3m -T text/html -dump
echo -e "\n"
echo -e "\e[1m\e[4mCheck console command for site test.localhost\e[0m"