1 Star 0 Fork 0

Neilpang / acmetest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

acmetest

Unit test project for acme.sh project https://github.com/acmesh-official/acme.sh

Here are the latest status:

Platform Status
freebsd LetsEncrypt
openbsd NA
pfsense NA
solaris LetsEncrypt
windows-cygwin LetsEncrypt
ubuntu:latest LetsEncrypt
debian:latest LetsEncrypt
centos:latest LetsEncrypt
fedora:latest LetsEncrypt
opensuse/leap:latest LetsEncrypt
alpine:latest LetsEncrypt
oraclelinux:latest LetsEncrypt
kalilinux/kali LetsEncrypt
archlinux:latest LetsEncrypt
mageia LetsEncrypt
gentoo/stage3-amd64 LetsEncrypt
clearlinux:latest LetsEncrypt
almalinux:latest LetsEncrypt

How to run tests

As simple as just run a script:

./letest.sh

It will use cloudflare tunnel to test on your local machine.

You can also test with your own domain, first point at least 2 of your domains to your machine, for example: example.com and www.example.com

And make sure 80 port is not used by anyone else.

cd acmetest
TestingDomain=example.com   TestingAltDomains=www.example.com  ./letest.sh

If you are not root, please use sudo, because the script will have to listen at 80 port:

cd acmetest
sudo  TestingDomain=example.com   TestingAltDomains=www.example.com  ./letest.sh

How to run tests in all the platforms through docker.

You must have docker installed, and also point 2 of your domains to your machine.

Then test all the platforms :

cd acmetest
./rundocker.sh  testall

It will use cloudflare tunnel test.

Or use your own domain:

cd acmetest
TestingDomain=example.com   TestingAltDomains=www.example.com  ./rundocker.sh  testall

The script will download all the supported platforms from the official docker hub, then run the test cases in all the supported platforms.

Then test single docker platform :

cd acmetest
./rundocker.sh  testall

Or:

cd acmetest
TestingDomain=example.com   TestingAltDomains=www.example.com  ./rundocker.sh  testplat   ubuntu:latest

空文件

简介

Unit test project for acme.sh project 展开 收起
Shell
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/neilpang/acmetest.git
git@gitee.com:neilpang/acmetest.git
neilpang
acmetest
acmetest
master

搜索帮助