os/kernelhwsrv/kerneltest/f32test/rofs/oby/dir.oby
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
* All rights reserved.
sl@0
     4
* This component and the accompanying materials are made available
sl@0
     5
* under the terms of the License "Eclipse Public License v1.0"
sl@0
     6
* which accompanies this distribution, and is available
sl@0
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
*
sl@0
     9
* Initial Contributors:
sl@0
    10
* Nokia Corporation - initial contribution.
sl@0
    11
*
sl@0
    12
* Contributors:
sl@0
    13
*
sl@0
    14
* Description:
sl@0
    15
*
sl@0
    16
*/
sl@0
    17
REM Test ROFS image
sl@0
    18
sl@0
    19
#ifdef MULTIPLEROFS
sl@0
    20
rofsname = dir.rofs
sl@0
    21
rofssize = 0x80000
sl@0
    22
sl@0
    23
time = 23/11/2001 6:44:07
sl@0
    24
sl@0
    25
REM Round the size up/down to the nearest block size
sl@0
    26
REM This will enable any ROFS extensions to be found
sl@0
    27
REM BlockSize is typically 16K for most small-block NAND chips
sl@0
    28
REM BlockSize is typically 128K for most large-block NAND chips
sl@0
    29
#if defined SMALL_BLOCK
sl@0
    30
autosize = 0x4000
sl@0
    31
#elif defined(LARGE_BLOCK)
sl@0
    32
autosize = 0x20000
sl@0
    33
#endif
sl@0
    34
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Multiple\multirofs.txt
sl@0
    35
#else
sl@0
    36
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Multiple\nomultirofs.txt
sl@0
    37
#endif // MULTIPLEROFS
sl@0
    38
sl@0
    39
REM Directory level traversal
sl@0
    40
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		root.txt
sl@0
    41
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\level1.txt
sl@0
    42
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\Dir2\level2.txt
sl@0
    43
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\Dir2\Dir3\level3.txt
sl@0
    44
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\Dir2\Dir3\Dir4\level4.txt
sl@0
    45
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\Dir2\Dir3\Dir4\Dir5\level5.txt
sl@0
    46
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\Dir2\Dir3\Dir4\Dir5\Dir6\level6.txt
sl@0
    47
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Dir1\Dir2\Dir3\Dir4\Dir5\Dir6\Dir7\level7.txt
sl@0
    48
sl@0
    49
REM resource testing files
sl@0
    50
data=EPOCROOT##epoc32\rom\rofstest\one.rsc		resource\one.rsc
sl@0
    51
data=EPOCROOT##epoc32\rom\rofstest\two.rsc		resource\two.rsc
sl@0
    52
data=EPOCROOT##epoc32\rom\rofstest\three.rsc		resource\three.rsc
sl@0
    53
data=EPOCROOT##epoc32\rom\rofstest\four.rsc		resource\four.rsc	
sl@0
    54
data=EPOCROOT##epoc32\rom\rofstest\five.rsc		resource\five.rsc
sl@0
    55
data=EPOCROOT##epoc32\rom\rofstest\six.rsc		resource\six.rsc
sl@0
    56
data=EPOCROOT##epoc32\rom\rofstest\seven.rsc		resource\seven.rsc
sl@0
    57
data=EPOCROOT##epoc32\rom\rofstest\eight.rsc		resource\eight.rsc
sl@0
    58
data=EPOCROOT##epoc32\rom\rofstest\nine.rsc		resource\nine.rsc
sl@0
    59
data=EPOCROOT##epoc32\rom\rofstest\ten.rsc		resource\ten.rsc
sl@0
    60
data=EPOCROOT##epoc32\rom\rofstest\me.rsc		resource\me.rsc
sl@0
    61
sl@0
    62
REM Deep directory level
sl@0
    63
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		DeepDir1\DeepDir2\DeepDir3\DeepDir4\DeepDir5\DeepDir6\DeepDir7\DeepDir8\DeepDir9\DeepDir10\DeepDir11\DeepDir12\DeepDir13\DeepDir14\file.txt
sl@0
    64
sl@0
    65
sl@0
    66
REM Multiple subdirectories
sl@0
    67
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\parfile.txt
sl@0
    68
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1A\subfileA.txt
sl@0
    69
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1B\subfileB.txt
sl@0
    70
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1C\subfileC.txt
sl@0
    71
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1D\subfileD.txt
sl@0
    72
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1E\subfileE.txt
sl@0
    73
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1F\SubSubA\subsub_a.txt
sl@0
    74
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1F\SubSubB\subsub_b.txt
sl@0
    75
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1F\SubSubC\subsub_c.txt
sl@0
    76
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Parent\SubDir1F\SubSubD\subsub_d.txt
sl@0
    77
sl@0
    78
REM mixed files and subdirectories in same directory
sl@0
    79
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par1.txt
sl@0
    80
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir1\sub1.txt
sl@0
    81
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir2\sub2.txt
sl@0
    82
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir3\sub3.txt
sl@0
    83
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir4\sub4.txt
sl@0
    84
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir5\sub5.txt
sl@0
    85
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir6\sub6.txt
sl@0
    86
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir7\sub7.txt
sl@0
    87
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\SubDir8\sub8.txt
sl@0
    88
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par2.txt
sl@0
    89
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par3.txt
sl@0
    90
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par4.txt
sl@0
    91
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par5.txt
sl@0
    92
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par6.txt
sl@0
    93
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par7.txt
sl@0
    94
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Mixed\par8.txt
sl@0
    95
sl@0
    96
REM different files in same directory
sl@0
    97
data=EPOCROOT##epoc32\rom\rofstest\TF1.BIN		ReadTest\A\file1
sl@0
    98
data=EPOCROOT##epoc32\rom\rofstest\TF2.BIN		ReadTest\A\file2
sl@0
    99
data=EPOCROOT##epoc32\rom\rofstest\TF3.BIN		ReadTest\A\file3
sl@0
   100
data=EPOCROOT##epoc32\rom\rofstest\TF4.BIN		ReadTest\A\file4
sl@0
   101
sl@0
   102
REM same name, different content, different directory
sl@0
   103
data=EPOCROOT##epoc32\rom\rofstest\TF5E.BIN		ReadTest\B\B1\testfile
sl@0
   104
data=EPOCROOT##epoc32\rom\rofstest\TF10.BIN		ReadTest\B\B2\testfile
sl@0
   105
data=EPOCROOT##epoc32\rom\rofstest\TF11.BIN		ReadTest\B\B3\testfile
sl@0
   106
data=EPOCROOT##epoc32\rom\rofstest\TF16.BIN		ReadTest\B\B4\testfile
sl@0
   107
sl@0
   108
REM seek test
sl@0
   109
data=EPOCROOT##epoc32\rom\rofstest\TF5H.BIN		ReadTest\C\seektest
sl@0
   110
sl@0
   111
REM EOF test
sl@0
   112
data=EPOCROOT##epoc32\rom\rofstest\TF5A.BIN		ReadTest\D\eoftest1
sl@0
   113
data=EPOCROOT##epoc32\rom\rofstest\TF5B.BIN		ReadTest\D\eoftest2
sl@0
   114
data=EPOCROOT##epoc32\rom\rofstest\TF5C.BIN		ReadTest\D\eoftest3
sl@0
   115
data=EPOCROOT##epoc32\rom\rofstest\TF9.BIN		ReadTest\D\eoftest4
sl@0
   116
data=EPOCROOT##epoc32\rom\rofstest\TF12.BIN		ReadTest\D\eoftest5
sl@0
   117
data=EPOCROOT##epoc32\rom\rofstest\TF13.BIN		ReadTest\D\eoftest6
sl@0
   118
sl@0
   119
REM stream read test
sl@0
   120
data=EPOCROOT##epoc32\rom\rofstest\TF5D.BIN		ReadTest\E\stream1
sl@0
   121
data=EPOCROOT##epoc32\rom\rofstest\TF5G.BIN		ReadTest\E\stream2
sl@0
   122
data=EPOCROOT##epoc32\rom\rofstest\TF5F.BIN		ReadTest\E\stream3
sl@0
   123
data=EPOCROOT##epoc32\rom\rofstest\TF5H.BIN		ReadTest\E\stream4
sl@0
   124
sl@0
   125
REM attrib test
sl@0
   126
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\rsh	attrib=RSH
sl@0
   127
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\rs	attrib=RSh
sl@0
   128
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\rh	attrib=RsH
sl@0
   129
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\sh	attrib=rSH
sl@0
   130
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\s	attrib=rSh
sl@0
   131
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\h	attrib=rsH
sl@0
   132
data=EPOCROOT##epoc32\rom\rofstest\TF6.BIN		Attrib\r	attrib=Rsh
sl@0
   133
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\r2	attrib=Rsh
sl@0
   134
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\r3	attrib=Rsh
sl@0
   135
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\s2	attrib=rSh
sl@0
   136
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\s3	attrib=rSh
sl@0
   137
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\h2	attrib=rsH
sl@0
   138
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\h3	attrib=rsH
sl@0
   139
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\rs2	attrib=RSh
sl@0
   140
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\rs3	attrib=RSh
sl@0
   141
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\rh2	attrib=RsH
sl@0
   142
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\rh3	attrib=RsH
sl@0
   143
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\rsh2	attrib=RSH
sl@0
   144
data=EPOCROOT##epoc32\rom\rofstest\TF7.BIN		Attrib\rsh3	attrib=RSH
sl@0
   145
sl@0
   146
REM exattrib test
sl@0
   147
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Exattrib\test1.txt		exattrib=U
sl@0
   148
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Exattrib\test2.txt		exattrib=U
sl@0
   149
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Exattrib\test3-1.txt	exattrib=U
sl@0
   150
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Exattrib\test3-2.txt	exattrib=U
sl@0
   151
data=EPOCROOT##epoc32\rom\rofstest\hello8.txt		Exattrib\test4-1.txt	exattrib=U
sl@0
   152
sl@0
   153
#ifndef EXCLUDE_TESTS
sl@0
   154
sl@0
   155
REM demand paging stress tests
sl@0
   156
#include "t_pagestress_rofs.iby"
sl@0
   157
sl@0
   158
#endif // #ifndef EXCLUDE_TESTS