0
|
1 |
rem
|
|
2 |
rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
rem All rights reserved.
|
|
4 |
rem This component and the accompanying materials are made available
|
|
5 |
rem under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
rem which accompanies this distribution, and is available
|
|
7 |
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
rem
|
|
9 |
rem Initial Contributors:
|
|
10 |
rem Nokia Corporation - initial contribution.
|
|
11 |
rem
|
|
12 |
rem Contributors:
|
|
13 |
rem
|
|
14 |
rem Description:
|
|
15 |
rem
|
|
16 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
17 |
rem @SYMPREQ PREQ1885
|
|
18 |
rem @SYMTestCaseDesc Test Setup for Directory Cache performance tests - REQ10565
|
|
19 |
rem @SYMTestActions 1. Format the card with cluster size = 4096 bytes
|
|
20 |
rem 2. Create nested directories \D1\D2\D3\D4 and each containing 8000 files, where file lenth is :
|
|
21 |
rem ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_1 ~ 8000.txt
|
|
22 |
rem
|
|
23 |
rem @SYMTestExpectedResults 1. Card is formatted with cluster size = 4096 bytes
|
|
24 |
rem 2. Directories \D1\D2\D3\D4 and 8000 files are created successfully
|
|
25 |
rem Note: It is assumed that memory card is mounted on e: drive on the target board
|
|
26 |
rem -------------------------------------------------------------------------------------------------------------------
|
|
27 |
|
|
28 |
format e: spc:8
|
|
29 |
|
|
30 |
md e:\D1
|
|
31 |
t_fat_perf e -c create -p D1 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 1
|
|
32 |
|
|
33 |
md e:\D1\D2
|
|
34 |
t_fat_perf e -c create -p D1\D2 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 0
|
|
35 |
|
|
36 |
md e:\D1\D2\D3
|
|
37 |
t_fat_perf e -c create -p D1\D2\D3 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 0
|
|
38 |
|
|
39 |
md e:\D1\D2\D3\D4
|
|
40 |
t_fat_perf e -c create -p D1\D2\D3\D4 -b ABCD1ABCD2ABCD3ABCD4ABCD5ABCD6ABCD7ABCD8ABCD9ABCD1ABCD2ABCD3ABCD4ABCD_ -n 8000 -m 0
|