name1  : Vinay Simha.B.N
 email id: simhavcs at
 name2  :  Beeresh.G
 email-id: beeresh at

 we got a fix for BUGID : *6528655,*can we get the sponsor now.*
* 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

sca number(s):   *OS0227,OS0225 *

* *

Vinay Simha.B.N.
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_date_BUGID_6528655
Type: application/octet-stream
Size: 1638 bytes
Desc: not available

Reply via email to