sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: CONSECUTIVE sl@0: sl@0: START_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0001 sl@0: PRINT -------- Testing clock_settime ,Capability set to None sl@0: RUN_PROGRAM -1 setcap.exe tcapclock.exe 000000 tcapclock1.exe sl@0: LOAD_SUITE tcapclock1 sl@0: //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0001 sl@0: //! @SYMTestStatus 3.Released sl@0: RUN_TEST_STEP !PanicString="KERN-EXEC" !PanicCode=46 tcapclock1 Testcapclocksettime1 sl@0: END_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0001 sl@0: sl@0: sl@0: START_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0002 sl@0: PRINT -------- Testing clock_settime ,Capability set to WriteDeviceData sl@0: RUN_PROGRAM -1 setcap.exe tcapclock.exe 000020 tcapclock2.exe sl@0: LOAD_SUITE tcapclock2 sl@0: //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0002 sl@0: //! @SYMTestStatus 3.Released sl@0: RUN_TEST_STEP !Result=0 tcapclock2 Testcapclocksettime1 sl@0: END_TESTCASE OPENENV-LIBRT-CIT-TESTCAPCLOCK-OE-0002 sl@0: sl@0: sl@0: