@@ -39,7 +39,7 @@ public function testExecute()
3939 $ this ->assertExitWithSuccess ();
4040 $ this ->assertOutputContains ('Connection: test ' );
4141 $ this ->assertOutputContains ('Driver: Mysql ' );
42- $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\]+backup_test_\d+\.sql` has been exported/ ' );
42+ $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\\\ ]+backup_test_\d+\.sql` has been exported/ ' );
4343 }
4444
4545 /**
@@ -50,7 +50,7 @@ public function testExecuteCompressionParam()
5050 {
5151 $ this ->exec ($ this ->command . ' --compression bzip2 ' );
5252 $ this ->assertExitWithSuccess ();
53- $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\]+backup_test_\d+\.sql\.bz2` has been exported/ ' );
53+ $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\\\ ]+backup_test_\d+\.sql\.bz2` has been exported/ ' );
5454 }
5555
5656 /**
@@ -61,7 +61,7 @@ public function testExecuteFilenameParam()
6161 {
6262 $ this ->exec ($ this ->command . ' --filename backup.sql ' );
6363 $ this ->assertExitWithSuccess ();
64- $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\]+backup.sql` has been exported/ ' );
64+ $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\\\ ]+backup.sql` has been exported/ ' );
6565 }
6666
6767 /**
@@ -73,7 +73,7 @@ public function testExecuteRotateParam()
7373 $ files = $ this ->createSomeBackups ();
7474 $ this ->exec ($ this ->command . ' --rotate 3 -v ' );
7575 $ this ->assertExitWithSuccess ();
76- $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\]+backup_test_\d+\.sql` has been exported/ ' );
76+ $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\\\ ]+backup_test_\d+\.sql` has been exported/ ' );
7777 $ this ->assertOutputContains ('Backup ` ' . basename (array_value_first ($ files )) . '` has been deleted ' );
7878 $ this ->assertOutputContains ('<success>Deleted backup files: 1</success> ' );
7979 }
@@ -86,8 +86,8 @@ public function testExecuteSendParam()
8686 {
8787 $ this ->exec ($ this ->command . ' --send mymail@example.com ' );
8888 $ this ->assertExitWithSuccess ();
89- $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\]+backup_test_\d+\.sql` has been exported/ ' );
90- $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\]+backup_test_\d+\.sql` was sent via mail/ ' );
89+ $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\\\ ]+backup_test_\d+\.sql` has been exported/ ' );
90+ $ this ->assertOutputRegExp ('/Backup `[\w\-\/\: \\\\ ]+backup_test_\d+\.sql` was sent via mail/ ' );
9191 }
9292
9393 /**
0 commit comments