1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/f32test/rofs/oby/rofs1.oby Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,72 @@
1.4 +/*
1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of the License "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +rofsname = dir1.rofs
1.22 +rofssize = 0x1D8000
1.23 +
1.24 +time = 10/12/2005 2:00:03
1.25 +
1.26 +
1.27 +autosize = 0x4000
1.28 +
1.29 +data=EPOCROOT##epoc32\rom\rofstest\hello8.txt \Multiple\hidden1.txt
1.30 +data=EPOCROOT##epoc32\rom\rofstest\hello8.txt \Multiple\hidden3.txt
1.31 +data=EPOCROOT##epoc32\rom\rofstest\hello8.txt \Multiple\new1.txt
1.32 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Multiple\replaceme1.txt
1.33 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Multiple\replaceme2.txt
1.34 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Multiple\replaceme4.txt
1.35 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Multiple\romreplace.txt
1.36 +hide=\Multiple\romhide.txt
1.37 +
1.38 +REM exattrib test
1.39 +
1.40 +REM TEST1 - should list test1[02-00] and test1[03-00]
1.41 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt Exattrib\test1.txt exattrib=U
1.42 +
1.43 +REM TEST2 (hide and override) - should list only test2[03-00]
1.44 +hide=\Exattrib\test2.txt[02-00]
1.45 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt Exattrib\test2.txt exattrib=U
1.46 +
1.47 +REM TEST3 (hide, override by renaming and list) - should list only test3-1[02-00]
1.48 +hide=\Exattrib\test3-1.txt[02-00]
1.49 +rename=\Exattrib\test3-1.txt[02-00] \Exattrib\test3-2.txt[02-00]
1.50 +
1.51 +REM Test4 (creating, hiding and renaming to main rofs entry)
1.52 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Exattrib\test4-2.txt exattrib=U
1.53 +hide=\Exattrib\test4-2.txt[03-00]
1.54 +rename=\Exattrib\test4-2.txt[03-00] \Exattrib\test4-1.txt[02-00]
1.55 +
1.56 +REM Test5 (creating file with name mangle and exattrib on)
1.57 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Exattrib\test5-1.txt[x-y] exattrib=U
1.58 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt \Exattrib\test5-2.txt[x-y]
1.59 +
1.60 +
1.61 +REM ******************************************************
1.62 +REM Below are the failure test cases that does not apply hide
1.63 +REM for the present and next rofs mounts
1.64 +REM ******************************************************
1.65 +
1.66 +REM Test7 (creating, hiding and renaming to next rofs mount entry)
1.67 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt Exattrib\test7-1.txt exattrib=U
1.68 +hide=\Exattrib\test7-1.txt[03-00]
1.69 +rename=\Exattrib\test7-1.txt[03-00] \Exattrib\test7-1.txt[04-00]
1.70 +
1.71 +REM Test8 (overriding normal file with exattrib)
1.72 +REM Test8 (hide a non existing file from previous rofs mounts - but present in the next rofs mount)
1.73 +data=EPOCROOT##epoc32\rom\rofstest\mrofs1.txt Exattrib\test8-1.txt[04-00]
1.74 +hide=\Exattrib\test8-1.txt[04-00]
1.75 +