Hans Leidekker : dplayx/tests: Remove the firewall exception after running the tests.
Alexandre Julliard
julliard at winehq.org
Wed Dec 13 15:40:22 CST 2017
Module: wine
Branch: master
Commit: ca9ca79d12e6e5031067d20d0afb30f34fc54759
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca9ca79d12e6e5031067d20d0afb30f34fc54759
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Dec 13 13:59:37 2017 +0100
dplayx/tests: Remove the firewall exception after running the tests.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dplayx/tests/dplayx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/dplayx/tests/dplayx.c b/dlls/dplayx/tests/dplayx.c
index 0786d16..f4e7301 100644
--- a/dlls/dplayx/tests/dplayx.c
+++ b/dlls/dplayx/tests/dplayx.c
@@ -6951,7 +6951,7 @@ START_TEST(dplayx)
if (!winetest_interactive)
{
skip("Run in interactive mode to run all dplayx tests.\n");
- return;
+ goto done;
}
trace("Running in interactive mode, tests will take a while\n");
@@ -6991,6 +6991,8 @@ START_TEST(dplayx)
test_remote_data_replication();
test_host_migration();
+done:
FreeLibrary(module);
CoUninitialize();
+ if (firewall_enabled) set_firewall(APP_REMOVE);
}
More information about the wine-cvs
mailing list