Add command_line_unittest and pr_time_test to the linux set of unittests. Fix the const-ness of argv in CommandLine on posix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@901 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc
index d9992c2..c477827 100644
--- a/base/command_line_unittest.cc
+++ b/base/command_line_unittest.cc
@@ -48,12 +48,12 @@
L"--input-translation=\"45\"--output-rotation "
L"\"in the time of submarines...\"");
#elif defined(OS_POSIX)
- char* argv[] = {"program", "--foo=", "-bAr",
- "-Spaetzel=pierogi", "-Baz", "flim",
- "--other-switches=--dog=canine --cat=feline",
- "-spaetzle=Crepe", "-=loosevalue", "flan",
- "--input-translation=45--output-rotation",
- "in the time of submarines..."};
+ const char* argv[] = {"program", "--foo=", "-bAr",
+ "-Spaetzel=pierogi", "-Baz", "flim",
+ "--other-switches=--dog=canine --cat=feline",
+ "-spaetzle=Crepe", "-=loosevalue", "flan",
+ "--input-translation=45--output-rotation",
+ "in the time of submarines..."};
CommandLine cl(arraysize(argv), argv);
#endif
EXPECT_FALSE(cl.command_line_string().empty());