src/tests/testall failed!
After I have successfully compiled syslog-ng-1.0.6rc3, I run src/tests/testall script but it failed. Config file is syslog-ng.conf.eval. source src { unix-stream("input"); }; destination d1 { file("d1"); }; destination d2 { file("d2"); }; destination d3 { file("d3"); }; destination d4 { file("d4"); }; destination d5 { file("d5"); }; destination d6 { file("d6"); }; destination d7 { file("d7"); }; filter f1 { facility(local0); }; filter f2 { facility(local1) and level(debug); }; filter f3 { facility(local2) and not level(debug); }; filter f4 { not (facility(local3) and level(debug)); }; filter f5 { facility(local4) or level(info); }; filter f6 { facility(local4) or not level(info); }; filter f7 { not (facility(local4) or level(info)); }; log { source(src); filter(f1); destination(d1); }; log { source(src); filter(f2); destination(d2); }; log { source(src); filter(f3); destination(d3); }; log { source(src); filter(f4); destination(d4); }; log { source(src); filter(f5); destination(d5); }; log { source(src); filter(f6); destination(d6); }; log { source(src); filter(f7); destination(d7); }; Error message is like: + rm 'd?' rm: cannot remove `d?': No such file or directory + ../syslog-ng -f syslog-ng.conf.eval -p syslog-ng.pid Warning: No source refers to internal messages, they'll go to /dev/null + logger -u input -p local0.debug 'msg: local0.debug' + logger -u input -p local1.debug 'msg: local1.debug' + logger -u input -p local1.info 'msg: local1.info' + logger -u input -p local2.debug 'msg: local2.debug' + logger -u input -p local2.info 'msg: local2.info' + logger -u input -p local3.debug 'msg: local3.debug' + logger -u input -p local4.info 'msg: local4.info' + logger -u input -p local6.info 'msg: local6.info' + logger -u input -p local4.debug 'msg: local4.debug' + logger -u input -p local6.info 'msg: local6.info' ++ cat syslog-ng.pid + pid= + kill -TERM ./test.eval: kill: : no such pid + sleep 2 + kill -TERM ./test.eval: kill: : no such pid + rm syslog-ng.pid ++ wc -l 'd?' wc: d?: No such file or directory + result= + rm 'd?' rm: cannot remove `d?': No such file or directory + '[' '' '!=' ' 1 d1 1 d2 1 d3 10 d4 6 d5 7 d6 5 d7 31 total' ']' + echo 'evaluation test failed' evaluation test failed + exit 1 I appreciate somebody tell me why. I have also found some "?" files in the direcotory starting syslog-ng daemon. What can these "?" be used? Zhen Not speaking for my employer -- all opinions are my own (and my fault)
On Mon, Aug 18, 2003 at 05:19:20PM +0800, Wang, Zhenyu Z wrote:
After I have successfully compiled syslog-ng-1.0.6rc3, I run src/tests/testall script but it failed.
that script was written years ago and may not function correctly. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Balazs Scheidler
-
Wang, Zhenyu Z