diff options
author | Dmitry Shachnev <mitya57@ubuntu.com> | 2015-09-30 14:00:43 +0300 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2015-10-01 17:50:07 +0200 |
commit | 3c424be597a2e4164348bc087882a7ed376df163 (patch) | |
tree | 34c5bebaf46c7d28fd8167162646afa223d20b79 /pkcs11/gkm | |
parent | 2425dab6765cb67b3c08e4143d70421a98f997d1 (diff) | |
download | gnome-keyring-3c424be597a2e4164348bc087882a7ed376df163.tar.gz |
tests: Make sure names for write_large_file tests are different
https://bugzilla.gnome.org/show_bug.cgi?id=755873
Diffstat (limited to 'pkcs11/gkm')
-rw-r--r-- | pkcs11/gkm/test-transaction.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkcs11/gkm/test-transaction.c b/pkcs11/gkm/test-transaction.c index 7c2dd839..ff864ad2 100644 --- a/pkcs11/gkm/test-transaction.c +++ b/pkcs11/gkm/test-transaction.c @@ -541,10 +541,13 @@ main (int argc, char **argv) }; int i; + gchar test_name[39]; for (i = 0; buffersizes[i]; i++) - g_test_add ("/gkm/transaction/write_large_file", - Test, GUINT_TO_POINTER (buffersizes[i]), + { + g_sprintf (test_name, "/gkm/transaction/write_large_file_%u", buffersizes[i]); + g_test_add (test_name, Test, GUINT_TO_POINTER (buffersizes[i]), setup, test_write_large_file, teardown); + } } g_test_add ("/gkm/transaction/write_file_abort_gone", Test, NULL, setup, test_write_file_abort_gone, teardown); |