From 243d5fcb1f070025fa19a5e31a3d8d64c8d1a1e6 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 8 Aug 2016 18:43:33 +0200 Subject: [PATCH] Add test for bug #69107: finfo no longer detects PHP files --- ext/fileinfo/tests/bug69107.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ext/fileinfo/tests/bug69107.phpt diff --git a/ext/fileinfo/tests/bug69107.phpt b/ext/fileinfo/tests/bug69107.phpt new file mode 100644 index 0000000000..9a7b26b5d1 --- /dev/null +++ b/ext/fileinfo/tests/bug69107.phpt @@ -0,0 +1,22 @@ +--TEST-- +Bug #69107 (finfo no longer detects PHP files) +--SKIPIF-- + +--FILE-- +buffer("buffer("buffer("buffer(" +===DONE=== +--EXPECT-- +string(10) "text/x-php" +string(10) "text/x-php" +string(10) "text/x-php" +string(10) "text/x-php" +===DONE=== -- 2.50.1