From 9ee62540f7477f10c404f06ce7e53133f8a8fcd7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 11 Jul 2015 14:17:06 +0100 Subject: Mirroring: Tests: check that we do not mirror private repos --- tests/tests/mirror-private | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 tests/tests/mirror-private diff --git a/tests/tests/mirror-private b/tests/tests/mirror-private new file mode 100755 index 0000000..5105339 --- /dev/null +++ b/tests/tests/mirror-private @@ -0,0 +1,24 @@ +#!/bin/bash +set -e +. tests/lib +. $troot/lib-mirror + +t-debpolicy + +t-tstunt-parsechangelog +t-prep-newpackage example 1.0 + +t-mirror-setup + +cd $p +revision=1 + +t-reporefs master + +t-dgit build +t-dgit push --new + +t-check-not-mirrored +t-files-notexist $reposmirror/$p.* + +echo ok. -- cgit v1.2.3