From: Garrett C. <su...@li...> - 2011-01-21 08:36:06
|
The branch, master, has been updated via c9facf6122caabc93275c3ca4b968d0b8b5a778a (commit) from e213570d066a2669356034c98e5bad45d3fdb41d (commit) - Log ----------------------------------------------------------------- commit c9facf6122caabc93275c3ca4b968d0b8b5a778a Author: Garrett Cooper <yan...@gm...> Date: Tue Dec 21 21:00:37 2010 -0800 Add exception for inline variables in global namespace. Signed-off-by: Garrett Cooper <yan...@gm...> ----------------------------------------------------------------------- Summary of changes: doc/style-guide.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/doc/style-guide.txt b/doc/style-guide.txt index b6e3f6d..a8b75a7 100644 --- a/doc/style-guide.txt +++ b/doc/style-guide.txt @@ -231,6 +231,8 @@ New Testcases foo = 0; + The only exception to this is when you define global variables. + 5. Your testcase should be runnable as root and non-root. What does that mean? It should fail gracefull as non-root if it has insufficient privileges, or use tst_require_root(NULL) if root hooks/post-receive -- ltp |