Fuchange commented on a change in pull request #1055: URL: https://github.com/apache/apisix-dashboard/pull/1055#discussion_r544777808
########## File path: api/test/shell/cli_test.sh ########## @@ -95,6 +95,26 @@ if [[ `grep -c "INFO" ./error.log` -eq '0' ]]; then exit 1 fi +# run on a different path +workDir=$(pwd) +rm -rf html +mkdir html +cd html +echo "hi~" >> index.html +APISIX_API_WORKDIR=$workDir $workDir/manager-api & +sleep 5 + +res=$(curl http://127.0.0.1:9000) +pkill -f manager-api + +if [[ $res == "404 page not found" ]]; then Review comment: @ShiningRush done, thanks ~ ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org