Follow-up r90340: just add the test file to SVN, which hopefully fixes the cruisecont...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 18 Jun 2011 17:27:32 +0000 (17:27 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 18 Jun 2011 17:27:32 +0000 (17:27 +0000)
tests/phpunit/includes/upload/UploadStashTest.php
tests/phpunit/includes/upload/bug29408 [new file with mode: 0644]

index c34714a..aabe750 100644 (file)
@@ -11,7 +11,7 @@ class UploadStashTest extends MediaWikiTestCase {
                
                // Setup a file for bug 29408
                $this->bug29408File = dirname( __FILE__ ) . '/bug29408';
-               file_put_contents( $this->bug29408File, "\x00" );               
+               // file_put_contents( $this->bug29408File, "\x00" );            
        }
        
        public function testBug29408() {
@@ -28,8 +28,5 @@ class UploadStashTest extends MediaWikiTestCase {
        
        public function tearDown() {
                parent::tearDown();
-               
-               unlink( $this->bug29408File );
-               
        }
 }
\ No newline at end of file
diff --git a/tests/phpunit/includes/upload/bug29408 b/tests/phpunit/includes/upload/bug29408
new file mode 100644 (file)
index 0000000..f76dd23
Binary files /dev/null and b/tests/phpunit/includes/upload/bug29408 differ