Folks,
        I am seeing the same results across the board on all archs. This is on
RHEL5-U1 with the 20080229 tarball. Has anyone else seen the same thing.

Jeff

Test Start Time: Fri Feb 29 16:06:19 2008
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------
syslog01                       FAIL       1    
syslog02                       PASS       0    
syslog03                       FAIL       1    
syslog04                       FAIL       1    
syslog05                       FAIL       1    
syslog06                       FAIL       1    
syslog07                       FAIL       1    
syslog08                       PASS       0    
syslog09                       FAIL       1    
syslog10                       FAIL       1    
syslog11                       PASS       0    
syslog12                       PASS       0    
-----------------------------------------------
Total Tests: 12
Total Failures: 8
Kernel Version: 2.6.18-83.el5
Machine Architecture: i686

======================= Details =======================

<<<test_start>>>
tag=syslog01 stime=1204319525
cmdline="syslog01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog01    0  INFO  :  Send messages to syslogd at some level 
syslog01    0  INFO  :  and facility and grep for those messages.
syslog01    0  INFO  :  syslog: Testing whether messages are logged into log 
file
Running tests
syslog01    1  FAIL  :  failed to generate messages
syslog01    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=8 termination_type=exited termination_id=1 corefile=no
cutime=9 cstime=18
<<<test_end>>>

<<<test_start>>>
tag=syslog02 stime=1204319533
cmdline="syslog02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog02    0  INFO  :  Test if messages of all levels are logged.
syslog02    0  INFO  :  For each level, a separate configuration file is
syslog02    0  INFO  :  created and that will be used as syslog.conf file.
syslog02    0  INFO  :  syslog: Testing the messages of all levels
syslog02    0  INFO  :  syslog: Testing whether messages are logged into log 
file
Running tests
syslog02    0  INFO  :  Doing level: emerg...
syslog02    0  INFO  :  ***** Level emerg passed *****
syslog02    0  INFO  :  Doing level: alert...
syslog02    0  INFO  :  ***** Level alert passed *****
syslog02    0  INFO  :  Doing level: crit...
syslog02    0  INFO  :  ***** Level crit passed *****
syslog02    0  INFO  :  Doing level: err...
syslog02    0  INFO  :  ***** Level err passed *****
syslog02    0  INFO  :  Doing level: warning...
syslog02    0  INFO  :  ***** Level warning passed *****
syslog02    0  INFO  :  Doing level: notice...
syslog02    0  INFO  :  ***** Level notice passed *****
syslog02    0  INFO  :  Doing level: info...
syslog02    0  INFO  :  ***** Level info passed *****
syslog02    0  INFO  :  Doing level: debug...
syslog02    0  INFO  :  ***** Level debug passed *****
syslog02    1  PASS  :  messages of all levels are logged
syslog02    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=46 termination_type=exited termination_id=0 corefile=no
cutime=46 cstime=71
<<<test_end>>>

<<<test_start>>>
tag=syslog03 stime=1204319579
cmdline="syslog03"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog03    0  INFO  :  Do openlog(), log the messages and see whether
syslog03    0  INFO  :  ident string is prepended to the message.
syslog03    0  INFO  :  syslog: Testing openlog() with ident strings
Running tests
syslog03    1  FAIL  :  ident string is not prepended to the mesage.
syslog03    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=5 termination_type=exited termination_id=1 corefile=no
cutime=11 cstime=13
<<<test_end>>>

<<<test_start>>>
tag=syslog04 stime=1204319584
cmdline="syslog04"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog04    0  INFO  :  case4: Test the logging option: LOG_PID
syslog04    0  INFO  :  Do openlog() with LOG_PID option and see whether pid
syslog04    0  INFO  :  is logged with message.
syslog04    0  INFO  :  syslog: Testing the log option: LOG_PID...
Running tests
syslog04    0  INFO  :  Restart syslog daemon
syslog04    1  FAIL  :  pid is not logged with message.
syslog04    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=7 termination_type=exited termination_id=1 corefile=no
cutime=10 cstime=14
<<<test_end>>>

<<<test_start>>>
tag=syslog05 stime=1204319591
cmdline="syslog05"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog05    0  INFO  :   case5: Test the logging option: LOG_CONS
syslog05    0  INFO  :   o Do openlog() with LOG_CONS option.
syslog05    0  INFO  :   o Disable /dev/syslog by moving it to a temporary file 
name.
syslog05    0  INFO  :   o Send the syslog message.
syslog05    0  INFO  :   o Check whether this is written to the console i.e to
syslog05    0  INFO  :     the file /usr/adm/ktlog/<this year>/<this 
month>/<to_day>
syslog05    0  INFO  :  syslog: Testing the log option: LOG_CONS...
Running tests
syslog05    1  FAIL  :  write to console failed
syslog05    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=7 termination_type=exited termination_id=1 corefile=no
cutime=11 cstime=15
<<<test_end>>>

<<<test_start>>>
tag=syslog06 stime=1204319598
cmdline="syslog06"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog06    0  INFO  :   Test the logging option: LOG_NDELAY
syslog06    0  INFO  :   o Do openlog() without LOG_NDELAY option.
syslog06    0  INFO  :   o open a file and check the returned file descriptor
syslog06    0  INFO  :     It should be 3.
syslog06    0  INFO  :   o Now do openlog() with LOG_NDELAY option.
syslog06    0  INFO  :   o open a file and check the returned file descriptor.
syslog06    0  INFO  :     It should be greater than 3.
syslog06    0  INFO  :  syslog: Testing the log option: LOG_NDELAY...
Running tests
syslog06    0  INFO  :  Restart syslog daemon
syslog06    1  FAIL  :  file descriptor is not greater than 3
syslog06    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=6 termination_type=exited termination_id=1 corefile=no
cutime=10 cstime=15
<<<test_end>>>

<<<test_start>>>
tag=syslog07 stime=1204319604
cmdline="syslog07"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog07    0  INFO  :   Test the priorities
syslog07    0  INFO  :  syslog: Testing the priorities ...
syslog07    0  INFO  :  o Add lowest prority level i.e debug level entry to
syslog07    0  INFO  :    configuration file.
syslog07    0  INFO  :   o Send syslog messages at all levels and see whether
syslog07    0  INFO  :     Higher level messages are logged.
Running tests
syslog07    1  FAIL  :  Higher level messages are not logged.
syslog07    0  INFO  :  restart syslog
<<<execution_status>>>
duration=7 termination_type=exited termination_id=1 corefile=no
cutime=10 cstime=18
<<<test_end>>>

<<<test_start>>>
tag=syslog08 stime=1204319611
cmdline="syslog08"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog08    0  INFO  :   Test all the facilities at a particular level.
syslog08    0  INFO  :   Facilities available are: LOG_KERN, LOG_USER, LOG_MAIL
syslog08    0  INFO  :   LOG_DAEMON, LOG_AUTH, LOG_LPR.
syslog08    0  INFO  :   Don't know how to send kernel messages from syslog()
syslog08    0  INFO  :   o Create seperate entries in config file for each 
facility.
syslog08    0  INFO  :   o Send the message and grep for the entry in log file.
syslog08    0  INFO  :  syslog: Testing all the facilities
syslog08    0  INFO  :  Doing facility: user...
syslog08    0  INFO  :  Restart /etc/init.d/syslog
syslog08    0  INFO  :   Facility user passed
syslog08    0  INFO  :  Doing facility: mail...
syslog08    0  INFO  :  Restart /etc/init.d/syslog
syslog08    0  INFO  :   Facility mail passed
syslog08    0  INFO  :  Doing facility: daemon...
syslog08    0  INFO  :  Restart /etc/init.d/syslog
syslog08    0  INFO  :   Facility daemon passed
syslog08    0  INFO  :  Doing facility: auth...
syslog08    0  INFO  :  Restart /etc/init.d/syslog
syslog08    0  INFO  :   Facility auth passed
syslog08    0  INFO  :  Doing facility: lpr...
syslog08    0  INFO  :  Restart /etc/init.d/syslog
syslog08    0  INFO  :   Facility lpr passed
syslog08    1  PASS  :  all facilities work
syslog08    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=30 termination_type=exited termination_id=0 corefile=no
cutime=34 cstime=53
<<<test_end>>>

<<<test_start>>>
tag=syslog09 stime=1204319641
cmdline="syslog09"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog09    0  INFO  :   Test setlogmask() with LOG_UPTO macro.
syslog09    0  INFO  :   o Use setlogmask() with LOG_UPTO macro to set some 
priority
syslog09    0  INFO  :     level.
syslog09    0  INFO  :   o Send message which is lower priority than the one
syslog09    0  INFO  :     set above, which should not be logged
syslog09    0  INFO  :  syslog: Testing setlogmask() with LOG_UPTO macro
Running tests
syslog09    1  FAIL  :  lower priority message is logged.
syslog09    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=7 termination_type=exited termination_id=1 corefile=no
cutime=10 cstime=16
<<<test_end>>>

<<<test_start>>>
tag=syslog10 stime=1204319648
cmdline="syslog10"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog10    0  INFO  :   Test setlogmask() with LOG_MASK macro.
syslog10    0  INFO  :   o Use setlogmask() with LOG_MASK macro to set an
syslog10    0  INFO  :     individual priority level.
syslog10    0  INFO  :   o Send the message of above prority and expect it to be
syslog10    0  INFO  :     logged.
syslog10    0  INFO  :   o Send message which is at other priority level to
syslog10    0  INFO  :     the one set above, which should not be logged.
syslog10    0  INFO  :  syslog: Testing setlogmask() with LOG_MASK macro...
Running tests
syslog10    1  FAIL  :   setlogmask() with LOG_MASK macro failed
syslog10    0  INFO  :  restart /etc/init.d/syslog
<<<execution_status>>>
duration=7 termination_type=exited termination_id=1 corefile=no
cutime=11 cstime=16
<<<test_end>>>

<<<test_start>>>
tag=syslog11 stime=1204319655
cmdline="syslog11"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog11    1  PASS  :  syslog() successful for type 0/Close the log
syslog11    2  PASS  :  syslog() successful for type 1/Open the log
syslog11    3  PASS  :  syslog() successful for type 2/Read from the log
syslog11    4  PASS  :  syslog() successful for type 3/Read ring buffer
syslog11    5  PASS  :  syslog() successful for type 3/Read ring buffer for 
non-root user
syslog11    6  PASS  :  syslog() successful for type 8/Set log level to 1
syslog11    7  PASS  :  syslog() successful for type 8/Set log level to 
7(default)
syslog11    8  PASS  :  syslog() successful for type 6/Disable printk's to 
console
syslog11    9  PASS  :  syslog() successful for type 7/Enable printk's to 
console
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>

<<<test_start>>>
tag=syslog12 stime=1204319655
cmdline="syslog12"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
syslog12    1  PASS  :  syslog() failed as expected for invalid type/command : 
errno 22
syslog12    2  PASS  :  syslog() failed as expected for NULL buffer argument : 
errno 22
syslog12    3  PASS  :  syslog() failed as expected for negative length 
argument : errno 22
syslog12    4  PASS  :  syslog() failed as expected for non-root user : errno 1
syslog12    5  PASS  :  syslog() failed as expected for console level less than 
0 : errno 22
syslog12    6  PASS  :  syslog() failed as expected for console level greater 
than 8 : errno 22
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to