diff options
author | Joe Orton <jorton@apache.org> | 2020-03-03 12:33:43 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2020-03-03 12:33:43 +0100 |
commit | 20d26e0c6c8d35edb860b5bd74a54f178130cb83 (patch) | |
tree | 254e5126a7e1410762709ec5876415620c387811 /test | |
parent | restore/explain new session creation (diff) | |
download | apache2-20d26e0c6c8d35edb860b5bd74a54f178130cb83.tar.xz apache2-20d26e0c6c8d35edb860b5bd74a54f178130cb83.zip |
Switch to using httpd-tests git repo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rwxr-xr-x | test/travis_before_linux.sh | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/test/travis_before_linux.sh b/test/travis_before_linux.sh index 39c8f1c760..3d9550169d 100755 --- a/test/travis_before_linux.sh +++ b/test/travis_before_linux.sh @@ -72,23 +72,10 @@ function install_apx() { if ! test -v SKIP_TESTING; then - # The test/framework checkout is cached at ~/root/framework, which - # is copied to test/framework within the httpd build directory. - # Renew the cache here if the last-changed revision is stale. - framework=https://svn.apache.org/repos/asf/httpd/test/framework/trunk - fcache=$HOME/root/framework - frev=`svn info --no-newline --show-item last-changed-revision ${framework}` - if [ -d ${fcache} -a ! -f ${fcache}/.revision-is-${frev} ]; then - : Purging stale cache at ${fcache} - rm -rf ${fcache} - fi - - if [ ! -d ${fcache} ]; then - run_svn_export ${framework} ${frev} ${fcache} 5 - touch ${fcache}/.revision-is-${frev} - fi - - cp -a ${fcache} test/perl-framework + ### Temporary: purge old svn checkout from the cache + rm -rf $HOME/root/framework + # Make a shallow clone of httpd-tests git repo. + git clone --depth=1 https://github.com/apache/httpd-tests.git test/perl-framework fi if test -v APR_VERSION; then |