On Tue, Aug 7, 2012 at 2:29 AM, Simon Xu <[email protected]> wrote:
> When converting the path specified for -d to absolute path, an extra '/' is
> added, e.g. if '/mypath' is specified, TMPBASE will be '//mypath'.
> Some testcases fail because of this, e.g. chdir01A fails with:
>
> chdir01     1  TFAIL  :  symlink(object, symbolic) was succesful.
> mkdir(object, 0700) was successful
> chdir(2) returned successfully, but getcwd(3) indicated new current
> working directory location /ext4/ltp-2nHcAjcGKr/chd2Y4XkO/object not equal
> to expected //ext4/ltp-2nHcAjcGKr/chd2Y4XkO/object
>
> Use readlink to get absolute path.
>
> Signed-off-by: Simon Xu <[email protected]>

Reviewed-by: Garrett Cooper <[email protected]>

Pushed to the repo.
Thanks!
-Garrett

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to