[yast-commit] r66952 - in /branches/SuSE-Code-11-SP2-Branch/core: ./ agent-ini/src/ agent-ini/testsuite/tests/ agent-process/testsuite/tests/ package/
Author: mvidner Date: Fri Nov 25 14:19:12 2011 New Revision: 66952 URL: http://svn.opensuse.org/viewcvs/yast?rev=66952&view=rev Log: ini-agent: Fixed a test failure "wrong stderr for nonex" (bnc#706705#c16) process-agent: a badly designed test is less likely to fail now svn merge -c65449 -c65457 http://svn.opensuse.org/svn/yast/branches/SuSE-Code-11-SP1-Branch/core Modified: branches/SuSE-Code-11-SP2-Branch/core/ (props changed) branches/SuSE-Code-11-SP2-Branch/core/VERSION branches/SuSE-Code-11-SP2-Branch/core/agent-ini/src/IniParser.h branches/SuSE-Code-11-SP2-Branch/core/agent-ini/testsuite/tests/nonex.err branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stderr.ycp branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stdout.ycp branches/SuSE-Code-11-SP2-Branch/core/package/yast2-core.changes Modified: branches/SuSE-Code-11-SP2-Branch/core/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/core/VERSION?rev=66952&r1=66951&r2=66952&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/core/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/core/VERSION Fri Nov 25 14:19:12 2011 @@ -1 +1 @@ -2.17.41 +2.17.42 Modified: branches/SuSE-Code-11-SP2-Branch/core/agent-ini/src/IniParser.h URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/core/agent-ini/src/IniParser.h?rev=66952&r1=66951&r2=66952&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/core/agent-ini/src/IniParser.h (original) +++ branches/SuSE-Code-11-SP2-Branch/core/agent-ini/src/IniParser.h Fri Nov 25 14:19:12 2011 @@ -396,6 +396,7 @@ // apparently the uninitialized members are filled in // by the grammar definition IniParser () : + timestamp (0), linecomments (), comments (), sections (), params (), rewrites (), started (false), multiple_files (false), Modified: branches/SuSE-Code-11-SP2-Branch/core/agent-ini/testsuite/tests/nonex.err URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/core/agent-ini/testsuite/tests/nonex.err?rev=66952&r1=66951&r2=66952&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/core/agent-ini/testsuite/tests/nonex.err (original) +++ branches/SuSE-Code-11-SP2-Branch/core/agent-ini/testsuite/tests/nonex.err Fri Nov 25 14:19:12 2011 @@ -1,7 +1,5 @@ [agent-ini] IniParser.cc(parse):XXX Can not open tests/nonex.in.test. [agent-ini] IniParser.cc(getTimeStamp):XXX Unable to stat 'tests/nonex.in.test': No such file or directory -[agent-ini] IniParser.cc(UpdateIfModif):XXX Data file 'tests/nonex.in.test' was changed externaly! -[agent-ini] IniParser.cc(parse):XXX Can not open tests/nonex.in.test. [YCP] tests/nonex.ycp:XXX KEY: nil [agent-ini] IniParser.cc(UpdateIfModif):XXX Data file 'tests/nonex.in.test' was changed externaly! [YCP] tests/nonex.ycp:XXX KEY: value Modified: branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stderr.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stderr.ycp?rev=66952&r1=66951&r2=66952&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stderr.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stderr.ycp Fri Nov 25 14:19:12 2011 @@ -8,12 +8,12 @@ string out1 = (string)SCR::Read(.read_stderr, id); SCR::Write(., id, "foo\n"); - sleep(50); + sleep(250); // read "foo\n" string out2 = (string)SCR::Read(.read_stderr, id); SCR::Write(., id, "foo2\nfoo2\n"); - sleep(50); + sleep(250); // read "foo2\nfoo2\n" string out3 = (string)SCR::Read(.read_stderr, id); @@ -35,12 +35,12 @@ string out1 = (string)SCR::Read(.read_line_stderr, id); SCR::Write(., id, "foo\n"); - sleep(50); + sleep(250); // read "foo\n" string out2 = (string)SCR::Read(.read_line_stderr, id); SCR::Write(., id, "foo2\nfoo2\n"); - sleep(50); + sleep(250); // read "foo2\n" string out3 = (string)SCR::Read(.read_line_stderr, id); Modified: branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stdout.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stdout.ycp?rev=66952&r1=66951&r2=66952&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stdout.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/core/agent-process/testsuite/tests/stdout.ycp Fri Nov 25 14:19:12 2011 @@ -8,12 +8,12 @@ string out1 = (string)SCR::Read(.read, id); SCR::Write(., id, "foo\n"); - sleep(50); + sleep(250); // read "foo\n" string out2 = (string)SCR::Read(.read, id); SCR::Write(., id, "foo2\nfoo2\n"); - sleep(50); + sleep(250); // read "foo2\nfoo2\n" string out3 = (string)SCR::Read(.read, id); @@ -34,12 +34,12 @@ string out1 = (string)SCR::Read(.read_line, id); SCR::Write(., id, "foo\n"); - sleep(50); + sleep(250); // read "foo\n" string out2 = (string)SCR::Read(.read_line, id); SCR::Write(., id, "foo2\nfoo2\n"); - sleep(50); + sleep(250); // read "foo2\n" string out3 = (string)SCR::Read(.read_line, id); Modified: branches/SuSE-Code-11-SP2-Branch/core/package/yast2-core.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/core/package/yast2-core.changes?rev=66952&r1=66951&r2=66952&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/core/package/yast2-core.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/core/package/yast2-core.changes Fri Nov 25 14:19:12 2011 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Nov 25 14:11:01 CET 2011 - mvidner@suse.cz + +- ini-agent: Fixed a test failure "wrong stderr for nonex" + (bnc#706705#c16) +- process-agent: a badly designed test is less likely to fail now +- 2.17.42 + +------------------------------------------------------------------- Mon Nov 7 18:19:27 CET 2011 - mvidner@suse.cz - ini-agent: added Write(.section_private.SECTION, BOOLEAN) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mvidner@svn2.opensuse.org