diff options
author | Stef Walter <stefw@collabora.co.uk> | 2010-11-26 19:49:55 +0000 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2010-11-26 20:08:09 +0000 |
commit | 5488f4ac054906a5b8ab53bdecca83865d672858 (patch) | |
tree | 460be94474f7871add789f78b6ebc54242ae5cd6 /pkcs11/xdg-store | |
parent | 4c31c175231c906b73e958a0856adc1df0e98252 (diff) | |
download | gnome-keyring-5488f4ac054906a5b8ab53bdecca83865d672858.tar.gz |
[testing] Add function to clear scratch directory.
testing_scratch_remove_all()
Diffstat (limited to 'pkcs11/xdg-store')
-rw-r--r-- | pkcs11/xdg-store/tests/test-xdg-module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkcs11/xdg-store/tests/test-xdg-module.c b/pkcs11/xdg-store/tests/test-xdg-module.c index a3cd72d2..d2541730 100644 --- a/pkcs11/xdg-store/tests/test-xdg-module.c +++ b/pkcs11/xdg-store/tests/test-xdg-module.c @@ -55,6 +55,9 @@ test_xdg_module_initialize_and_enter (void) args.pReserved = string; args.flags = CKF_OS_LOCKING_OK; + /* Delete all files in this directory */ + testing_scratch_remove_all (); + /* Copy files from test-data to scratch */ testing_data_to_scratch ("test-refer-1.trust", NULL); testing_data_to_scratch ("test-certificate-1.cer", NULL); |