Hi! > This patch fixes return value always being 0 in parent even if test > fails. Using exit(value) instead of tst_XXX.
Yes, that is because there is plain exit(0); instead of tst_exit() (which would return the value that is set by tst_resm()). And actually the cleanest solution is not to use the tst_XXX interface in the child at all (as noted in doc/style-guide.txt). -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
