Browse Source

[1704] Fix comment describing the test in logger_lock_test.cc

Mukund Sivaraman 13 years ago
parent
commit
1c0e6f8026
1 changed files with 5 additions and 6 deletions
  1. 5 6
      src/lib/log/tests/logger_lock_test.cc

+ 5 - 6
src/lib/log/tests/logger_lock_test.cc

@@ -46,13 +46,12 @@ protected:
     }
     }
 };
 };
 
 
-/// \brief Test InitLogger
+/// \brief Test logger lock sequence
 ///
 ///
-/// A program used in testing the logger that initializes logging using
+/// A program used in testing the logger. It verifies that (1) an
-/// initLogger(), then outputs several messages at different severities and
+/// interprocess sync lock is first acquired by the logger, (2) the
-/// debug levels.  An external script sets the environment variables and checks
+/// message is logged by the logger, and (3) the lock is released in
-/// that they have the desired effect.
+/// that sequence.
-
 int
 int
 main(int, char**) {
 main(int, char**) {
     initLogger();
     initLogger();