From af1a90c458819f39156ea9530af29833b5881d10 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 30 Jan 2016 20:38:58 +0200 Subject: Use build2.org to host test repositories --- tests/repository/publish | 10 ++++++++++ tests/repository/publish.sh | 10 ---------- tests/test.sh | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100755 tests/repository/publish delete mode 100755 tests/repository/publish.sh (limited to 'tests') diff --git a/tests/repository/publish b/tests/repository/publish new file mode 100755 index 0000000..df3245b --- /dev/null +++ b/tests/repository/publish @@ -0,0 +1,10 @@ +#!/bin/sh + +# Some commonly useful addtional options that can be specified via the +# command line: +# +# --dry-run +# --progress +# +rsync -v -rlpt --exclude '.*' --copy-unsafe-links --prune-empty-dirs \ +--delete-after $* 1/ build2.org:/var/bpkg/1/tests/ diff --git a/tests/repository/publish.sh b/tests/repository/publish.sh deleted file mode 100755 index 2124ead..0000000 --- a/tests/repository/publish.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Some commonly useful addtional options that can be specified via the -# command line: -# -# --dry-run -# --progress -# -rsync -v -rlpt --exclude '.*' --copy-unsafe-links --prune-empty-dirs \ ---delete-after $* 1/ pkg.cppget.org:/var/bpkg/tests/1/ diff --git a/tests/test.sh b/tests/test.sh index ea0da34..cf7d466 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -77,8 +77,8 @@ bpkg="$bpkg $options" # Repository location, name, and absolute location prefixes. # if [ "$remote" = "y" ]; then - rep=http://pkg.cppget.org/tests/1 - repn=cppget.org/ + rep=https://build2.org/pkg/1/tests + repn=build2.org/tests/ repa=$rep else rep=repository/1 @@ -260,7 +260,7 @@ fail cfg-add /tmp/1/../1/foo/stable # duplicate # remote URL # test cfg-add http://pkg.example.org/1/testing -fail cfg-add http://www.example.org/1/testing # duplicate +fail cfg-add https://www.example.org/1/testing # duplicate ## -- cgit v1.1