Ack.

Thanks,
Praveen

On 01-Jun-15 12:21 PM, Vu Minh Nguyen wrote:
>   tests/ntfsv/ntf_search_criteria_test.sh |  3 +--
>   1 files changed, 1 insertions(+), 2 deletions(-)
>
>
> Test suite 22 test 3 invokes the test script 
> tests/ntfsv/ntf_search_criteria_test.sh.
> This script then passed an invalid non-option `return` to ntfread tool.
>
> This fix removed that non-option and also unused variable id.
>
> diff --git a/tests/ntfsv/ntf_search_criteria_test.sh 
> b/tests/ntfsv/ntf_search_criteria_test.sh
> --- a/tests/ntfsv/ntf_search_criteria_test.sh
> +++ b/tests/ntfsv/ntf_search_criteria_test.sh
> @@ -46,8 +46,7 @@ read_marked()
>       expected_sequence=$1
>       sc=$2 #search criteria
>       sd=$3 #search direction
> -    id="$4"return
> -    last=`ntfread -v $3 -b $sc -E 4 $id -n "$testMark"|grep -i eventtime|awk 
> '{ print $3}'`
> +    last=`ntfread -v $3 -b $sc -E 4 -n "$testMark"|grep -i eventtime|awk '{ 
> print $3}'`
>       res=`echo $last|sed -n 's/\(.*\)$/\1 /p'`
>       ver  "result           :  \"$res\""
>       ver  "expected_sequence:  \"$expected_sequence\""
>

------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to