From 1af74e50add1dcc74bcd22891ea5f08997e3bcc8 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 29 Oct 2018 15:53:42 +0500 Subject: [PATCH] AppVeyor: run "vpntest" for ubuntu 18.04 --- .appveyor.yml | 1 + .ci/memory-leak-test.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 .ci/memory-leak-test.sh diff --git a/.appveyor.yml b/.appveyor.yml index 4662cc0b..bca79a40 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -66,6 +66,7 @@ for: - ./configure build_script: - make package -C tmp + - .ci/memory-leak-test.sh after_build: - .ci/appveyor_afterbuild.sh on_failure: diff --git a/.ci/memory-leak-test.sh b/.ci/memory-leak-test.sh new file mode 100755 index 00000000..dd1bce14 --- /dev/null +++ b/.ci/memory-leak-test.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -eux + +echo -n | ./build/vpntest s | grep -Fq 'NO MEMORY LEAKS' +echo -n | ./build/vpntest c | grep -Fq 'NO MEMORY LEAKS' +echo -n | ./build/vpntest b | grep -Fq 'NO MEMORY LEAKS'