libraries/iosrv/tsrc/t_ioread.script
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 #!fshell
       
     2 # t_ioread.script
       
     3 # 
       
     4 # Copyright (c) 2010 Accenture. All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of the "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 # 
       
    10 # Initial Contributors:
       
    11 # Accenture - Initial contribution
       
    12 #
       
    13 
       
    14 # test script for io server file read handles
       
    15 
       
    16 export REPORT_FAILURE "echo Failure at line ^$SCRIPT_LINE of ^$SCRIPT_NAME^^n^^n"
       
    17 
       
    18 t_ioread	t1_newlineend.txt	--size 1	--mode full		|| $REPORT_FAILURE
       
    19 t_ioread	t1_newlineend.txt	--size 1	--mode line		|| $REPORT_FAILURE
       
    20 t_ioread	t1_newlineend.txt	--size 1	--mode oneormore	|| $REPORT_FAILURE
       
    21 
       
    22 t_ioread	t1_newlineend.txt	--size 10	--mode full		|| $REPORT_FAILURE
       
    23 t_ioread	t1_newlineend.txt	--size 10	--mode line		|| $REPORT_FAILURE
       
    24 t_ioread	t1_newlineend.txt	--size 10	--mode oneormore	|| $REPORT_FAILURE
       
    25 
       
    26 t_ioread	t1_newlineend.txt	--size 1024	--mode full		|| $REPORT_FAILURE
       
    27 t_ioread	t1_newlineend.txt	--size 1024	--mode line		|| $REPORT_FAILURE
       
    28 t_ioread	t1_newlineend.txt	--size 1024	--mode oneormore	|| $REPORT_FAILURE
       
    29 
       
    30 t_ioread	t2_nonewlineend.txt	--size 1	--mode full		|| $REPORT_FAILURE
       
    31 t_ioread	t2_nonewlineend.txt	--size 1	--mode line		|| $REPORT_FAILURE
       
    32 t_ioread	t2_nonewlineend.txt	--size 1	--mode oneormore	|| $REPORT_FAILURE
       
    33 
       
    34 t_ioread	t2_nonewlineend.txt	--size 10	--mode full		|| $REPORT_FAILURE
       
    35 t_ioread	t2_nonewlineend.txt	--size 10	--mode line		|| $REPORT_FAILURE
       
    36 t_ioread	t2_nonewlineend.txt	--size 10	--mode oneormore	|| $REPORT_FAILURE
       
    37               
       
    38 t_ioread	t2_nonewlineend.txt	--size 1024	--mode full		|| $REPORT_FAILURE
       
    39 t_ioread	t2_nonewlineend.txt	--size 1024	--mode line		|| $REPORT_FAILURE
       
    40 t_ioread	t2_nonewlineend.txt	--size 1024	--mode oneormore	|| $REPORT_FAILURE
       
    41               
       
    42 t_ioread	t3_alloneline.txt	--size 1	--mode full		|| $REPORT_FAILURE
       
    43 t_ioread	t3_alloneline.txt	--size 1	--mode line		|| $REPORT_FAILURE
       
    44 t_ioread	t3_alloneline.txt	--size 1	--mode oneormore	|| $REPORT_FAILURE
       
    45 
       
    46 t_ioread	t3_alloneline.txt	--size 10	--mode full		|| $REPORT_FAILURE
       
    47 t_ioread	t3_alloneline.txt	--size 10	--mode line		|| $REPORT_FAILURE
       
    48 t_ioread	t3_alloneline.txt	--size 10	--mode oneormore	|| $REPORT_FAILURE
       
    49               
       
    50 t_ioread	t3_alloneline.txt	--size 1024	--mode full		|| $REPORT_FAILURE
       
    51 t_ioread	t3_alloneline.txt	--size 1024	--mode line		|| $REPORT_FAILURE
       
    52 t_ioread	t3_alloneline.txt	--size 1024	--mode oneormore	|| $REPORT_FAILURE