diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ChangeLog | 2 | ||||
-rw-r--r-- | tests/t-engine-info.c | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 425884b9..2ff2aff5 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,7 @@ 2003-01-30 Marcus Brinkmann <[email protected]> + * t-engine-info.c: Use file_name instead path throughout. + * Makefile.am (TESTS): Add t-engine-info. * t-engine-info.c: New file. * gpg/t-encrypt.c (main): Don't print engine info. diff --git a/tests/t-engine-info.c b/tests/t-engine-info.c index e4d0eda9..ef69b1f5 100644 --- a/tests/t-engine-info.c +++ b/tests/t-engine-info.c @@ -43,7 +43,7 @@ void check_engine_info (GpgmeEngineInfo info, GpgmeProtocol protocol, - const char *path, const char *req_version) + const char *file_name, const char *req_version) { if (info->protocol != protocol) { @@ -51,10 +51,10 @@ check_engine_info (GpgmeEngineInfo info, GpgmeProtocol protocol, info->protocol, protocol); exit (1); } - if (strcmp (info->path, path)) + if (strcmp (info->file_name, file_name)) { - fprintf (stderr, "Unexpected path to executable %s (expected %s instead)", - info->path, path); + fprintf (stderr, "Unexpected file name to executable %s (expected %s instead)", + info->file_name, file_name); exit (1); } if (strcmp (info->req_version, req_version)) |