OSDN Git Service

download tests lib using wget, instead of SVN no-svn
authorscribu <mail@scribu.net>
Mon, 25 Nov 2013 07:43:48 +0000 (09:43 +0200)
committerscribu <mail@scribu.net>
Mon, 25 Nov 2013 07:43:48 +0000 (09:43 +0200)
templates/install-wp-tests.sh

index 782dec8..3dcd768 100644 (file)
@@ -42,7 +42,7 @@ install_test_suite() {
        # set up testing suite
        mkdir -p $WP_TESTS_DIR
        cd $WP_TESTS_DIR
-       svn co --quiet http://develop.svn.wordpress.org/trunk/tests/phpunit/includes/
+       wget -r -nH --no-parent --cut-dirs=3 http://develop.svn.wordpress.org/trunk/tests/phpunit/includes/
 
        wget -nv -O wp-tests-config.php http://develop.svn.wordpress.org/trunk/wp-tests-config-sample.php
        sed $ioption "s:dirname( __FILE__ ) . '/src/':'$WP_CORE_DIR':" wp-tests-config.php