Skip to content
Unit test project for acme.sh project
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logs Test for alpine:3.1 Jan 24, 2020
status Test for fedora:24 Jan 24, 2020
README.md
cron.sh
head.md
letest.sh
plat.conf
rundocker.sh
runplat.sh
table.md
tail.md

README.md

acmetest

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

Here are the latest status:

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

You can’t perform that action at this time.