diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-07-11 14:17:06 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-07-11 14:24:40 +0100 |
commit | 9ee62540f7477f10c404f06ce7e53133f8a8fcd7 (patch) | |
tree | cb7d367c1c2d5982832e59f9573f1db764348a5a | |
parent | 1647f63f87eb287027d685d22c6a798aa775ebd1 (diff) |
Mirroring: Tests: check that we do not mirror private repos
-rwxr-xr-x | tests/tests/mirror-private | 24 |
1 files changed, 24 insertions, 0 deletions
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. |