os/ossrv/genericopenlibs/posixrealtimeextensions/test/testcapclock/scripts/tclock_captest.script
Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
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
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
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
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