diff --git a/bin/misp_verify.php b/bin/misp_verify.php new file mode 100644 index 00000000..b7301ea4 --- /dev/null +++ b/bin/misp_verify.php @@ -0,0 +1,33 @@ +#!/usr/bin/php + "světe"]; + $deserialized = igbinary_unserialize(igbinary_serialize($dataToSerialize)); + assert($dataToSerialize == $deserialized); +} + +function testSsdeep() +{ + $hash = ssdeep_fuzzy_hash("ahoj světe"); + assert(is_string($hash)); +} + +testBrotli(); +testZstd(); +testIgbinary(); +testSsdeep(); \ No newline at end of file diff --git a/bin/misp_verify.sh b/bin/misp_verify.sh index b230a376..70137bd7 100644 --- a/bin/misp_verify.sh +++ b/bin/misp_verify.sh @@ -6,6 +6,9 @@ set -o xtrace # Check if PHP is properly configured php -v +# Check if PHP extensions are properly built +misp_verify.php + # Build test # Temporary disable for aarch64, because LIEF is broken in arm if [[ "$(uname -m)" != "aarch64" ]]; then