/acmetest

Unit test project for acme.sh project

Primary LanguageShell

acmetest

Unit test project for acme.sh project https://github.com/Neilpang/acme.sh

Here are the latest status:

Platform Status Last Run Time Comments
freebsd Fri, 01 Nov 2019 02:06:02 UTC Passed
openbsd Fri, 01 Nov 2019 02:16:15 UTC Passed
pfsense Fri, 01 Nov 2019 02:24:28 UTC Passed
solaris Fri, 01 Nov 2019 02:33:17 GMT Failed
windows-cygwin Fri, 01 Nov 2019 02:53:32 UTC Failed
ubuntu:latest Fri, 01 Nov 2019 03:00:30 UTC Passed
ubuntu:18.04 Fri, 01 Nov 2019 03:07:25 UTC Passed
ubuntu:16.04 Fri, 01 Nov 2019 03:14:56 UTC Passed
ubuntu:14.04 Fri, 01 Nov 2019 03:22:11 UTC Passed
debian:latest Fri, 01 Nov 2019 03:29:22 UTC Passed
debian:10 Fri, 01 Nov 2019 03:36:06 UTC Passed
debian:9 Fri, 01 Nov 2019 03:50:43 UTC Passed
debian:8 Fri, 01 Nov 2019 03:57:28 UTC Passed
debian:7 Fri, 01 Nov 2019 04:11:26 UTC Passed
centos:latest Fri, 01 Nov 2019 04:25:52 UTC Passed
centos:7 Fri, 01 Nov 2019 04:41:12 UTC Passed
centos:6 Fri, 01 Nov 2019 04:56:26 UTC Passed
fedora:latest Fri, 01 Nov 2019 05:04:13 UTC Passed
fedora:30 Fri, 01 Nov 2019 05:11:48 UTC Passed
fedora:29 Fri, 01 Nov 2019 05:18:51 UTC Passed
fedora:28 Fri, 01 Nov 2019 05:26:04 UTC Passed
fedora:27 Fri, 01 Nov 2019 05:33:22 UTC Passed
fedora:26 Fri, 01 Nov 2019 05:41:59 UTC Passed
fedora:25 Fri, 01 Nov 2019 05:48:38 UTC Passed
fedora:24 Fri, 01 Nov 2019 09:15:53 UTC Failed
fedora:23 Fri, 01 Nov 2019 05:57:31 UTC Passed
fedora:22 Fri, 01 Nov 2019 06:05:28 UTC Passed
fedora:21 Fri, 01 Nov 2019 06:12:45 UTC Passed
opensuse:latest Fri, 01 Nov 2019 06:19:30 UTC Passed
opensuse:42.2 Fri, 01 Nov 2019 06:26:47 UTC Passed
opensuse:42.1 Fri, 01 Nov 2019 06:40:59 UTC Passed
alpine:latest Fri, 01 Nov 2019 06:47:54 UTC Passed
alpine:3.10 Fri, 01 Nov 2019 08:11:18 UTC Passed
alpine:3.9 Fri, 01 Nov 2019 07:01:25 UTC Passed
alpine:3.8 Fri, 01 Nov 2019 09:22:07 UTC Passed
alpine:3.7 Fri, 01 Nov 2019 09:35:12 UTC Passed
alpine:3.6 Fri, 01 Nov 2019 07:27:24 UTC Passed
alpine:3.5 Fri, 01 Nov 2019 07:40:13 UTC Passed
alpine:3.4 Fri, 01 Nov 2019 07:46:48 UTC Passed
alpine:3.3 Fri, 01 Nov 2019 07:53:38 UTC Passed
alpine:3.2 Fri, 01 Nov 2019 08:04:43 UTC Passed
alpine:3.1 Fri, 01 Nov 2019 09:35:25 UTC Failed
oraclelinux:latest Fri, 01 Nov 2019 08:26:28 UTC Passed
oraclelinux:7 Fri, 01 Nov 2019 08:41:57 UTC Passed
oraclelinux:6 Fri, 01 Nov 2019 08:49:41 UTC Passed
kalilinux/kali-linux-docker Fri, 01 Nov 2019 08:56:34 UTC Passed
base/archlinux Fri, 01 Nov 2019 09:04:45 UTC Passed
mageia Fri, 01 Nov 2019 09:11:56 UTC Passed
gentoo/stage3-amd64 Fri, 01 Nov 2019 09:13:58 UTC Passed

How to run tests

First point at least 2 of your domains to your machine, for example: aa.com and www.aa.com

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

cd acmetest
TestingDomain=aa.com   TestingAltDomains=www.aa.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
TestingDomain=aa.com   TestingAltDomains=www.aa.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
TestingDomain=aa.com   TestingAltDomains=www.aa.com  ./rundocker.sh  testplat   centos:latest

Run tests with ngrok automatically

If you don't want to use 2 domains to test, we can use ngrok to test with temp domain.

Please register an free account at https://ngrok.com/

You will get your ngrok auth token. Then:

export NGROK_TOKEN="xxxxxxxxxx"

./letest.sh