0
|
1 |
//
|
|
2 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
// All rights reserved.
|
|
4 |
// This component and the accompanying materials are made available
|
|
5 |
// under the terms of "Eclipse Public License v1.0"
|
|
6 |
// which accompanies this distribution, and is available
|
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
//
|
|
9 |
// Initial Contributors:
|
|
10 |
// Nokia Corporation - initial contribution.
|
|
11 |
//
|
|
12 |
// Contributors:
|
|
13 |
//
|
|
14 |
// Description:
|
|
15 |
//
|
|
16 |
|
|
17 |
Load_Server Te_RegScriptCommandServer
|
|
18 |
|
|
19 |
START_TESTCASE DT-TEF-ScriptCommand-0009
|
|
20 |
//! @SYMTestCaseID DT-TEF-ScriptCommand-0009
|
|
21 |
//! @SYMCreationDate 26-06-2008
|
|
22 |
//! @SYMAuthor DavidZhang
|
|
23 |
//! @SYMTestType CT
|
|
24 |
//! @SYMTestPriority Medium
|
|
25 |
//! @SYMTestCaseDesc Negative Test of "run_program" script command.
|
|
26 |
//! @SYMTestExpectedResults Test should fail with error code -1.
|
|
27 |
//! @SYMTestActions Write "RUN_PROGRAM" to launch a not existed executable file
|
|
28 |
RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckProgram ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0009
|
|
29 |
RUN_PROGRAM 5 TIMEWdddd.exe
|
|
30 |
RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckProgram ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0009
|
|
31 |
RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckLogFile ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0009
|
|
32 |
END_TESTCASE DT-TEF-ScriptCommand-0009
|