Hi James,
On Sunday 03 Apr 2005 23:57, you wrote:
On Apr 3, 2005 5:17 PM, Paul Millar p.millar@physics.gla.ac.uk wrote:
By the look of it, the bug is that create_test_entries() creates the three TestN keys (N=1..3), but doesn't clean them after.
We use the values created in create_test_entries() throughout the whole test [...] They are cleaned up in the final call to delete_key(hkey_main).
OK, I missed that from a casual glance through the code.
so this is the correct behaviour.
... if you insist.
The issue is either one of name-space ("Test" isn't a fantastic choice), or of scope: do all the Test1, Test2, Test3 tests inside one top-level function call that also cleans up.
So, two ways of fixing the problem.
HTH,
Paul.