Skip to content

lowerpower/acmetest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unit test project for acme.sh project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%