diff --git a/tests/conversion/after-5.sh b/tests/conversion/after-5.sh index 4b705764..ddaa07d3 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 2734e3ad..ae4f60f1 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 0c2edcf2..25e7b0e6 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