jit_bugs/bugs/9_composer.sh

24 lines
443 B
Bash
Raw Normal View History

2023-10-26 13:55:01 +02:00
#!/bin/bash -e
standalone=$PWD/bugs/wrap.php
c=$PWD/bugs/9_composer.json
cd /tmp
mkdir -p test
cd test
mkdir -p src
docker run -v $PWD:/app --rm --privileged -it asan_tests rm -rf vendor composer.lock
cp $standalone .
cp $c composer.json
echo "About to run composer"
2023-11-11 19:04:15 +01:00
docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php --repeat 2 -f /app/wrap.php /usr/bin/composer update --ignore-platform-reqs
2023-10-26 13:55:01 +02:00
2023-11-11 19:04:15 +01:00
echo "OK, no bugs!"