//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
//
// Copyright (c) 2006 Symbian Software Ltd.  All rights reserved.
//
CONSECUTIVE

START_TESTCASE OE-001
PRINT --------  Testing utime,Capability set to None
RUN_PROGRAM -1 setcap.exe tutimecap.exe 000000  tutime_cap1.exe
LOAD_SUITE tutime_cap1
RUN_TEST_STEP   !Result=13 tutime_cap1 utimesys
END_TESTCASE OE-001


START_TESTCASE OE-002
PRINT --------  Testing utime,Capability set to AllFiles
RUN_PROGRAM -1 setcap.exe tutimecap.exe 000800  tutime_cap2.exe
LOAD_SUITE tutime_cap2
RUN_TEST_STEP !Result=13 tutime_cap2 utimesys
END_TESTCASE OE-002

START_TESTCASE OE-003
PRINT --------  Testing utime,Capability set to None
RUN_PROGRAM -1 setcap.exe tutimecap.exe 000000  tutime_cap3.exe
LOAD_SUITE tutime_cap3
RUN_TEST_STEP !Result=13 tutime_cap3 utimeprivate
END_TESTCASE OE-003

START_TESTCASE OE-004
PRINT --------  Testing utime,Capability set to AllFiles
RUN_PROGRAM -1 setcap.exe tutimecap.exe 000800  tutime_cap4.exe
LOAD_SUITE tutime_cap4
RUN_TEST_STEP !Result=13 tutime_cap4 utimeprivate
END_TESTCASE OE-004


