we got a fix for BUGID : *6528655
*diff -u date.c date.c.orig have been attached(diff_date_BUGID_6528655.txt)

 Bug ID Number : *6528655*
 synopsis: date(1) could report errors more usefully
 category :  utility
 subcategory :   misc
 description : date(1) isn't very helpful if it fails.

*Test Results:*

As a root user in global zone
./a.out is the output of #cc date.c

*case 1 & 2)* HHMM syntax included and usage is dispalying
#./a.out a
date: bad conversion
usage:  date [-u] mmddHHMM[[cc]yy][.SS]
        date [-u] HHMM
        date [-u] [+format]
        date -a [-]sss[.fff]

*case 3)*using date command in non global zone

#./a.out 1234
Error: unable to set the date from a non-global zone

*case 4)*using date command by non root users
#./a.out 1234
Error: insufficient privilege


-- 
Regards,

Vinay Simha.B.N.
#9986985831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080206/c9e4174d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_date_BUGID_6528655
Type: application/octet-stream
Size: 1638 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080206/c9e4174d/attachment.obj>

Reply via email to