Commit 0875bf89 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

regedit/tests: Skip tests if running as non-elevated admin.

parent 72052ca6
......@@ -3635,6 +3635,12 @@ START_TEST(regedit)
return;
}
if (!run_regedit_exe("regedit.exe /s test.reg") && GetLastError() == ERROR_ELEVATION_REQUIRED)
{
win_skip("User is a non-elevated admin; skipping regedit tests.\n");
return;
}
test_basic_import();
test_basic_import_unicode();
test_basic_import_31();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment