Please find attached the signed off patch.
Thanks and regards,
Vinay
(See attached file: syslogtst_patch)
Subrata Modak
<[EMAIL PROTECTED]
et.ibm.com> To
ltp-list
01/07/2008 06:20 <[email protected]>
PM cc
Santwana Samantray/India/[EMAIL
PROTECTED],
Amit K Arora/India/[EMAIL PROTECTED],
Please respond to salina <[EMAIL PROTECTED]>, Sridhar
[EMAIL PROTECTED] Vinay/India/[EMAIL PROTECTED], Ricardo
t.ibm.com Salveti de Araujo
<[EMAIL PROTECTED]>, Mike
Frysinger <[EMAIL PROTECTED]>, Jeff
Burke <[EMAIL PROTECTED]>
Subject
[PATCH] syslogtst fails in ltp
testsuite.
Please find below a Problem reported by Santwana on the syslogtst test
case, and, then the fix given by Vinay Sridhar:
===================================================================
Problem Description by Santwana
===================================================================
syslogtst fails in ltp testsuite.
Contact Information = Santwana Samantray/[EMAIL PROTECTED]
---uname output---
Linux <> 2.6.18-53.el5xen #1 SMP Wed Oct 10 16:48:44 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux
Machine Type = e326m
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1.Copy and untar the ltp testsuite.
2.Issue make followed by make install.
3.Inside runtest directory of ltp create a file as syscalls-syslog.
4.The contents of the file should be as: syslogtst syslogtst
5.Run the file from the ltp testsuite as ./runltp -f syscalls-syslog.
6.It says that "pan reported some tests FAIL".
7.Check in ltp's output directory (i.e ltp-full-20071130/output).
8.It contains only one file which mentions syslogtst as the failure.
===================================================================
Description and Solution by Sridhar Vinay:
===================================================================
This ltp test case seems to fail because of a missing argument to the
syslogtst test case. The syslogtst needs an argument to test one of the
syslog calls. On adding an argument to the test case it passes.
The input file to the test case contains the type of the test to be run
which should also contain another argument to choose which log test is
to be run. This input file is passed on from the runltp script to pan
which runs the test case. In order to ensure the test case runs without
the extra argument, random number generation is used to generate the
required argument(s).
The is a patch for the syslogtst test case
The patch is for the file ltp/testcases/kernel/syscalls/syslog/syslogtst.c
===================================================================
===================================================================
Vinay, Can you please sign off this Patch ?
--Subrata
(See attached file: 07_01_2008-([EMAIL PROTECTED])-syslogtst.patch)
syslogtst_patch
Description: Binary data
07_01_2008-([email protected])-syslogtst.patch
Description: Binary data
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
