Unit test project for acme.sh project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
logs Test for freebsd Jun 1, 2018
status Test for freebsd May 25, 2018
README.md Test for freebsd Jun 1, 2018
cron.sh support ACME_NO_COLOR Jun 18, 2017
head.md Test for freebsd Jun 1, 2018
letest.sh show case log Apr 21, 2018
plat.conf add more plat Mar 8, 2018
rundocker.sh fix for travis Apr 21, 2018
runplat.sh export CASE Jan 31, 2017
table.md Test for alpine:3.1 May 11, 2018
tail.md Update tail.md Nov 26, 2016

README.md

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 Jun 2018 02:10:26 UTC Passed
openbsd Fri, 11 May 2018 02:21:20 UTC Passed
pfsense Fri, 11 May 2018 02:31:23 UTC Passed
solaris Fri, 11 May 2018 02:42:11 GMT Passed
windows-cygwin Fri, 11 May 2018 03:01:21 UTC Passed
ubuntu:latest Fri, 11 May 2018 03:10:53 UTC Passed
ubuntu:17.04 Fri, 11 May 2018 03:19:44 UTC Passed
ubuntu:16.04 Fri, 11 May 2018 03:29:17 UTC Passed
ubuntu:14.04 Fri, 11 May 2018 03:38:11 UTC Passed
debian:latest Fri, 11 May 2018 03:47:09 UTC Passed
debian:9 Fri, 11 May 2018 03:56:09 UTC Passed
debian:8 Fri, 11 May 2018 04:05:12 UTC Passed
debian:7 Fri, 11 May 2018 04:14:22 UTC Passed
centos:latest Fri, 11 May 2018 04:24:01 UTC Passed
centos:7 Fri, 11 May 2018 04:34:00 UTC Passed
centos:6 Fri, 11 May 2018 04:43:51 UTC Passed
fedora:latest Fri, 11 May 2018 04:53:33 UTC Passed
fedora:27 Fri, 11 May 2018 05:02:31 UTC Passed
fedora:26 Fri, 11 May 2018 05:12:06 UTC Passed
fedora:25 Fri, 11 May 2018 05:21:32 UTC Passed
fedora:24 Fri, 11 May 2018 05:31:06 UTC Passed
fedora:23 Fri, 11 May 2018 05:40:40 UTC Passed
fedora:22 Fri, 11 May 2018 05:50:09 UTC Passed
fedora:21 Fri, 11 May 2018 05:59:28 UTC Passed
opensuse:latest Fri, 11 May 2018 06:08:33 UTC Passed
opensuse:42.2 Fri, 11 May 2018 06:17:30 UTC Passed
opensuse:42.1 Fri, 11 May 2018 06:26:28 UTC Passed
alpine:latest Fri, 11 May 2018 06:34:25 UTC Passed
alpine:3.7 Fri, 11 May 2018 06:37:16 UTC Passed
alpine:3.6 Fri, 11 May 2018 06:40:13 UTC Passed
alpine:3.5 Fri, 11 May 2018 06:43:04 UTC Passed
alpine:3.4 Fri, 11 May 2018 06:45:49 UTC Passed
alpine:3.3 Fri, 11 May 2018 08:41:30 UTC Failed
alpine:3.2 Fri, 11 May 2018 08:57:20 UTC Failed
alpine:3.1 Fri, 11 May 2018 09:12:51 UTC Failed
oraclelinux:latest Fri, 11 May 2018 07:37:14 UTC Passed
oraclelinux:7 Fri, 11 May 2018 07:46:48 UTC Passed
oraclelinux:6 Fri, 11 May 2018 07:56:00 UTC Passed
kalilinux/kali-linux-docker Fri, 11 May 2018 08:05:08 UTC Passed
base/archlinux Fri, 11 May 2018 08:14:07 UTC Passed
mageia Fri, 11 May 2018 08:23:12 UTC Passed
gentoo/stage3-amd64 Fri, 11 May 2018 08:25:48 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