[client,common] adjust command line tests

invalid drive redirection paths are now ignored and no longer create an
error but just a warning message
This commit is contained in:
akallabeth 2024-03-18 09:42:38 +01:00 committed by akallabeth
parent 925b23bef5
commit 622c688d56

View File

@ -191,11 +191,11 @@ static const test tests[] = {
check_settings_smartcard_no_redirection, check_settings_smartcard_no_redirection,
{ "testfreerdp", "/list:monitor", 0 }, { "testfreerdp", "/list:monitor", 0 },
{ { 0 } } }, { { 0 } } },
{ COMMAND_LINE_ERROR, { 0,
check_settings_smartcard_no_redirection, check_settings_smartcard_no_redirection,
{ "testfreerdp", "/sound", "/drive:media:" DRIVE_REDIRECT_PATH, "/v:test.freerdp.com", 0 }, { "testfreerdp", "/sound", "/drive:media:" DRIVE_REDIRECT_PATH, "/v:test.freerdp.com", 0 },
{ { 0 } } }, { { 0 } } },
{ COMMAND_LINE_ERROR, { 0,
check_settings_smartcard_no_redirection, check_settings_smartcard_no_redirection,
{ "testfreerdp", "/sound", "/drive:media,/foo/bar/blabla", "/v:test.freerdp.com", 0 }, { "testfreerdp", "/sound", "/drive:media,/foo/bar/blabla", "/v:test.freerdp.com", 0 },
{ { 0 } } }, { { 0 } } },