mirror of
https://github.com/reactos/ahk_tests.git
synced 2024-11-30 06:50:46 +00:00
[AHK_Opera_9.64]
Copy one more file. Hides 'Wrong certificate name' window. Tested on win2k3 sp2. svn path=/trunk/ahk_tests/; revision=1854
This commit is contained in:
parent
14040e103c
commit
9375e2c62f
@ -83,23 +83,34 @@ if bContinue
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
IfNotExist, %A_WorkingDir%\Media\opera6.ini
|
IfNotExist, %A_WorkingDir%\Media\opera6.ini
|
||||||
TestsFailed("Can NOT find '" A_WorkingDir "\\Media\opera6.ini'.")
|
TestsFailed("Can NOT find '" A_WorkingDir "\Media\opera6.ini'.")
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FileCopy, %A_WorkingDir%\Media\opera6.ini, %A_AppData%\Opera\Opera\profile\opera6.ini
|
FileCopy, %A_WorkingDir%\Media\opera6.ini, %A_AppData%\Opera\Opera\profile\opera6.ini
|
||||||
if ErrorLevel
|
if ErrorLevel
|
||||||
TestsFailed("Can NOT copy existing '" A_WorkingDir "\\Media\opera6.ini' to '" A_AppData "\Opera\Opera\profile\opera6.ini'")
|
TestsFailed("Can NOT copy existing '" A_WorkingDir "\Media\opera6.ini' to '" A_AppData "\Opera\Opera\profile\opera6.ini'")
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
IfNotExist, %A_WorkingDir%\Media\autosave.win
|
IfNotExist, %A_WorkingDir%\Media\autosave.win
|
||||||
TestsFailed("Can NOT find '" A_WorkingDir "\\Media\autosave.win'.")
|
TestsFailed("Can NOT find '" A_WorkingDir "\Media\autosave.win'.")
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FileCopy, %A_WorkingDir%\Media\autosave.win, %A_AppData%\Opera\Opera\profile\sessions\autosave.win
|
FileCopy, %A_WorkingDir%\Media\autosave.win, %A_AppData%\Opera\Opera\profile\sessions\autosave.win
|
||||||
if ErrorLevel
|
if ErrorLevel
|
||||||
TestsFailed("Can NOT copy existing '" A_WorkingDir "\\Media\autosave.win' to '" A_AppData "\Opera\Opera\profile\sessions\autosave.win'")
|
TestsFailed("Can NOT copy existing '" A_WorkingDir "\Media\autosave.win' to '" A_AppData "\Opera\Opera\profile\sessions\autosave.win'")
|
||||||
else
|
else
|
||||||
TestsOK("")
|
{
|
||||||
|
IfNotExist, %A_WorkingDir%\Media\optrust.dat
|
||||||
|
TestsFailed("Can NOT find '" A_WorkingDir "\Media\optrust.dat'.")
|
||||||
|
else
|
||||||
|
{
|
||||||
|
FileCopy, %A_WorkingDir%\Media\optrust.dat, %A_AppData%\Opera\Opera\profile\optrust.dat
|
||||||
|
if ErrorLevel
|
||||||
|
TestsFailed("Can NOT copy existing '" A_WorkingDir "\Media\optrust.dat' to '" A_AppData "\Opera\Opera\profile\optrust.dat'")
|
||||||
|
else
|
||||||
|
TestsOK("")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user