diff --git a/tests/conversion/after-5.sh b/tests/conversion/after-5.sh index 4b7057645..ddaa07d3a 100755 --- a/tests/conversion/after-5.sh +++ b/tests/conversion/after-5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e sed 's/^Loop::set.*;//g' -i vendor/amphp/amp/lib/Loop.php echo 'Loop::set((new DriverFactory())->create());' >> vendor/amphp/amp/lib/Loop.php diff --git a/tests/conversion/after-70.sh b/tests/conversion/after-70.sh index 2734e3ad2..ae4f60f15 100755 --- a/tests/conversion/after-70.sh +++ b/tests/conversion/after-70.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e find vendor/danog/madelineproto -type f -name '*.php' -exec sed 's/: EncryptableSocket/: \\Amp\\Socket\\Socket/g' -i {} + diff --git a/tests/conversion/prepare-5.sh b/tests/conversion/prepare-5.sh index 0c2edcf29..25e7b0e6a 100755 --- a/tests/conversion/prepare-5.sh +++ b/tests/conversion/prepare-5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e rm -rf vendor/danog/madelineproto/docs