made test more robust

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404171
This commit is contained in:
Davis King 2011-03-16 23:42:57 +00:00
parent eef728d280
commit ae79b13a07
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ namespace
0 // the number of command line arguments for this test
)
{
thetime = time(0);
// always use the same time so that tests are repeatable
thetime = 0;//time(0);
}
time_t thetime;