On Wed, 2008-07-30 at 12:46 +0530, Veerendra Chandrappa wrote:
> Hi
> 
>       This  patch fixes the fs_inod script. On error-condition it was not
> setting up proper error values and used to throw up error.
> Also, it was referring to a non-existent function 'error()' .
> 
> Now it returns 0 on Success or non-zero value on Failure .
> I have verified this script  on ReadWrite dir and ReadOnly-dir where the
> tests fail.
> 
> 
> Results : On running ReadOnly dir .
> 
> Before modifying the script:
> 
> <snip>
> /root/old/ltp-full-20080630/testcases/kernel/fs/fs_inod/fs_inod: rm files
> [0-1]/file1[0-1]
> /root/old/ltp-full-20080630/testcases/kernel/fs/fs_inod/fs_inod: line 246:
> error: command not found
> Execution completed
> Wed Jul 30 11:57:36 IST 2008
> </snip>
> e325a:/tmp/fs25444/RO # echo $?
> 0
> 
> 
> 
> After modifying the script.
> 
> <snip>
> /root/ltp-full-20080630/testcases/bin/fs_inod: line 197: cd: ../dir2: No
> such file or directory
> /root/ltp-full-20080630/testcases/bin/fs_inod: rm files [0-1]/file1[0-1]
> step1 failed - see above errors
> Execution completed
> Wed Jul 30 12:26:58 IST 2008
> </snip>
> 
> e325a:/tmp/fs25444/RO # echo $?
> 1
> 
> 
> SignedOff:
> Veerendra C <[EMAIL PROTECTED]>

Thanks Veerendra for fixing this. The same has been applied.

Regards--
Subrata

> 
> 
> Regards, Veerendra C
> ________________________________________________________
> Linux Technology Center, India Software Labs, Bangalore, Ph: 080-4177 6428
> 
> 
> (See attached file: fs_inod.patch)
> ------------------------------------------------------------------------- 
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
> Build the coolest Linux based applications with Moblin SDK & win great prizes 
> Grand prize is a trip for two to an Open Source event anywhere in the world 
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to