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