[test suite] bug fix for rotate digest cache tests
authorMichael Rash <mbr@cipherdyne.org>
Fri, 28 Jun 2013 01:26:49 +0000 (21:26 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Fri, 28 Jun 2013 01:26:49 +0000 (21:26 -0400)
commit25058f9d130dbc7ecbc415031a982b569adab50f
treea33a636db42b24ac18296c6d2b0966ae62f735a2
parent1a9c8914df18c6cc0ac43435b1ba645c01c634bd
[test suite] bug fix for rotate digest cache tests

When the test suite is executed with '--include "rotate"' then previous tests
aren't executed in order to create a new digest cache file.  So, when init() is
called and a clean slate is established, there is nothing to rotate away.  This
change creates the default digest cache data (comment line only) if the file
doesn't already exist for the rotate tests.
test/test-fwknop.pl