Index: tests/phpunit/includes/mock-fs.php
===================================================================
--- tests/phpunit/includes/mock-fs.php	(revision 26244)
+++ tests/phpunit/includes/mock-fs.php	(working copy)
@@ -81,7 +81,8 @@
 	 * Locates a filesystem node for the parent of the given item
 	 */
 	private function locate_parent_node( $path ) {
-		return $this->locate_node( trailingslashit( dirname( $path ) ) );
+		$dirname = str_replace( '\\', '/', dirname( $path ) );
+		return $this->locate_node( trailingslashit( $dirname ) );
 	}
 
 	// Here starteth the WP_Filesystem functions.
@@ -91,7 +92,8 @@
 
 		$parent_node = $this->locate_parent_node( $path );
 		if ( ! $parent_node ) {
-			$this->mkdir( dirname( $path ) );
+			$dirname = str_replace( '\\', '/', dirname( $path ) );
+			$this->mkdir( $dirname );
 			$parent_node = $this->locate_parent_node( $path );
 			if ( ! $parent_node )
 				return false;
