File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 33load test_helper
44
55@test " Call php-band to install an already downloaded archive" {
6- # [ ! -f "archs/php-5.6.10.tar.xz" ]
7- # cp $BATS_TEST_DIRNAME/fixtures/php-5.6.10.tar.xz archs/
86 [ -f " ${PHP_BAND_ASSETS_DIR} /archs/php-5.6.10.tar.xz" ]
97 PHP_BAND_ASSETS_DIR=$PHP_BAND_ASSETS_DIR run bin/php-band --install 5.6.10
108 [ -f " ${PHP_BAND_ASSETS_DIR} /archs/php-5.6.10.tar.xz" ]
@@ -18,15 +16,15 @@ load test_helper
1816 if [ " x$PHP_BAND_TEST_COMPILATION " = " x" ]; then
1917 skip " We only compile if PHP_BAND_TEST_COMPILATION is set"
2018 fi
21- PHP_BAND_ASSETS_DIR= $PHP_BAND_ASSETS_DIR run bin/php-band --install 5.6.10
19+ run bin/php-band --install 5.6.10
2220 assert_line_contains " PHP 5.6.10 has been downloaded"
2321 [ -f " archs/php-5.6.10.tar.xz" ]
2422 [ -d " src/php-5.6.10" ]
2523 [ -f " src/php-5.6.10/.configured" ]
2624 [ -f " src/php-5.6.10/.built" ]
2725 [ -f " inst/5.6.10/bin/php" ]
2826 assert_status 0
29- run ${PHP_BAND_ASSETS_DIR} / inst/5.6.10/bin/php -v
27+ run inst/5.6.10/bin/php -v
3028 assert_line_contains " php 5.6.10"
3129 assert_status 0
3230}
You can’t perform that action at this time.
0 commit comments