Test: /ext/phar/tests/phar_extract.phpt - Version 5.6.13-dev    

There are 4 different diffs reported by users for this test.

Count Diff
3 (50%)
001+ Segmentation fault
001- %sextract%cfile1.txt
002- %sextract%cfile2.txt
003- %sextract%cone
004- %sextract%csubdir
005- %sextract%csubdir%cectory
006- %sextract%csubdir%cectory%cfile.txt
007- string(2) "hi"
008- string(3) "hi3"
009- string(3) "hi2"
010- bool(false)
011- Invalid argument, expected a filename (string) or array of filenames
012-
013- Warning: Phar::extractTo() expects parameter 1 to be %string, array given in %sphar_extract.php on line %d
014- Invalid argument, extraction path must be non-zero length
015- Unable to use path "%soops" for extraction, it is a file, must be a directory
016- Invalid argument, array of filenames to extract contains non-string value
017- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "file1.txt" to "%sextract/file1.txt", path already exists
018- string(5) "first"
019- string(2) "hi"
020- Cannot extract to "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...", destination directory is too long for filesystem
021- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." to "%s...", extracted filename is too long for filesystem
022- ===DONE===
1 (17%)
001+ [Tue Aug 4 23:32:04 2015] Script: %s/phar_extract.php'
002+ ---------------------------------------
003+ /home/travis/build/php/php-src/Zend/zend_virtual_cwd.c(1367) : Block 0x02666500 status:
004+ Invalid pointer: ((thread_id=0x702F646C) != (expected=0x1D54C740))
005+ Invalid pointer: ((size=0x00000000) != (next.prev=0x72742f656d6f682f))
006+ Segmentation fault
001- %sextract%cfile1.txt
002- %sextract%cfile2.txt
003- %sextract%cone
004- %sextract%csubdir
005- %sextract%csubdir%cectory
006- %sextract%csubdir%cectory%cfile.txt
007- string(2) "hi"
008- string(3) "hi3"
009- string(3) "hi2"
010- bool(false)
011- Invalid argument, expected a filename (string) or array of filenames
012-
013- Warning: Phar::extractTo() expects parameter 1 to be %string, array given in %sphar_extract.php on line %d
014- Invalid argument, extraction path must be non-zero length
015- Unable to use path "%soops" for extraction, it is a file, must be a directory
016- Invalid argument, array of filenames to extract contains non-string value
017- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "file1.txt" to "%sextract/file1.txt", path already exists
018- string(5) "first"
019- string(2) "hi"
020- Cannot extract to "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...", destination directory is too long for filesystem
021- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." to "%s...", extracted filename is too long for filesystem
022- ===DONE===
1 (17%)
001+ [Tue Aug 4 22:48:58 2015] Script: %s/phar_extract.php'
002+ ---------------------------------------
003+ /home/travis/build/php/php-src/Zend/zend_virtual_cwd.c(1367) : Block 0x01ed1540 status:
004+ Invalid pointer: ((thread_id=0x702F646C) != (expected=0xB7D80740))
005+ Invalid pointer: ((size=0x00000000) != (next.prev=0x72742f656d6f682f))
006+ Segmentation fault
001- %sextract%cfile1.txt
002- %sextract%cfile2.txt
003- %sextract%cone
004- %sextract%csubdir
005- %sextract%csubdir%cectory
006- %sextract%csubdir%cectory%cfile.txt
007- string(2) "hi"
008- string(3) "hi3"
009- string(3) "hi2"
010- bool(false)
011- Invalid argument, expected a filename (string) or array of filenames
012-
013- Warning: Phar::extractTo() expects parameter 1 to be %string, array given in %sphar_extract.php on line %d
014- Invalid argument, extraction path must be non-zero length
015- Unable to use path "%soops" for extraction, it is a file, must be a directory
016- Invalid argument, array of filenames to extract contains non-string value
017- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "file1.txt" to "%sextract/file1.txt", path already exists
018- string(5) "first"
019- string(2) "hi"
020- Cannot extract to "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...", destination directory is too long for filesystem
021- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." to "%s...", extracted filename is too long for filesystem
022- ===DONE===
1 (17%)
001+ [Tue Aug 4 22:37:07 2015] Script: %s/phar_extract.php'
002+ ---------------------------------------
003+ /home/travis/build/smalyshev/php-src/Zend/zend_virtual_cwd.c(1367) : Block 0x024a64f0 status:
004+ Invalid pointer: ((thread_id=0x732F646C) != (expected=0x5ADB3740))
005+ Invalid pointer: ((size=0x00000000) != (next.prev=0x72742f656d6f682f))
006+ Segmentation fault
001- %sextract%cfile1.txt
002- %sextract%cfile2.txt
003- %sextract%cone
004- %sextract%csubdir
005- %sextract%csubdir%cectory
006- %sextract%csubdir%cectory%cfile.txt
007- string(2) "hi"
008- string(3) "hi3"
009- string(3) "hi2"
010- bool(false)
011- Invalid argument, expected a filename (string) or array of filenames
012-
013- Warning: Phar::extractTo() expects parameter 1 to be %string, array given in %sphar_extract.php on line %d
014- Invalid argument, extraction path must be non-zero length
015- Unable to use path "%soops" for extraction, it is a file, must be a directory
016- Invalid argument, array of filenames to extract contains non-string value
017- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "file1.txt" to "%sextract/file1.txt", path already exists
018- string(5) "first"
019- string(2) "hi"
020- Cannot extract to "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...", destination directory is too long for filesystem
021- Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." to "%s...", extracted filename is too long for filesystem
022- ===DONE===