genericopenlibs/posixrealtimeextensions/test/testcapclock/scripts/tclock_captest.script
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 CONSECUTIVE |
|
17 |
|
18 START_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0001 |
|
19 PRINT -------- Testing clock_settime ,Capability set to None |
|
20 RUN_PROGRAM -1 setcap.exe tcapclock.exe 000000 tcapclock1.exe |
|
21 LOAD_SUITE tcapclock1 |
|
22 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0001 |
|
23 //! @SYMTestStatus 3.Released |
|
24 RUN_TEST_STEP !PanicString="KERN-EXEC" !PanicCode=46 tcapclock1 Testcapclocksettime1 |
|
25 END_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0001 |
|
26 |
|
27 |
|
28 START_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0002 |
|
29 PRINT -------- Testing clock_settime ,Capability set to WriteDeviceData |
|
30 RUN_PROGRAM -1 setcap.exe tcapclock.exe 000020 tcapclock2.exe |
|
31 LOAD_SUITE tcapclock2 |
|
32 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0002 |
|
33 //! @SYMTestStatus 3.Released |
|
34 RUN_TEST_STEP !Result=0 tcapclock2 Testcapclocksettime1 |
|
35 END_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0002 |
|
36 |
|
37 |
|
38 |