reg/tests: Properly escape the backslashes in an export test.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2017-11-23 12:13:08 +00:00 committed by Alexandre Julliard
parent ea640e1aa7
commit 7fb9cdf60f
1 changed files with 1 additions and 1 deletions

View File

@ -4391,7 +4391,7 @@ static void test_export(void)
run_reg_exe("reg export /?", &r);
todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r);
run_reg_exe("reg export \\remote-pc\\HKLM\\Wine file.reg", &r);
run_reg_exe("reg export \\\\remote-pc\\HKLM\\Wine file.reg", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
run_reg_exe("reg export HKEY_DYN_DATA file.reg", &r);