We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac5d56 commit 95f5ef2Copy full SHA for 95f5ef2
test/90_install.bats
@@ -16,7 +16,7 @@ load test_helper
16
if [ "x$PHP_BAND_TEST_COMPILATION" = "x" ]; then
17
skip "We only compile if PHP_BAND_TEST_COMPILATION is set"
18
fi
19
- run bin/php-band --install 5.6.10
+ PHP_BAND_ASSETS_DIR=$(dirname ${BATS_TEST_DIRNAME}) run bin/php-band --install 5.6.10
20
assert_line_contains "PHP 5.6.10 has been downloaded"
21
[ -f "archs/php-5.6.10.tar.xz" ]
22
[ -d "src/php-5.6.10" ]
test/test_helper.bash
@@ -1,5 +1,4 @@
1
#!/usr/bin/env bash
2
-export PHP_BAND_ASSETS_DIR=$(readlink -f $(pwd)/test/assets)
3
export PHP_BAND_ASSETS_DIR=${BATS_TEST_DIRNAME}/assets
4
setup() {
5
find archs -type f -iname "php-5.6.10.*" -exec rm {} \;
0 commit comments