tests: Fix test.
authorJustus Winter <justus@gnupg.org>
Fri, 27 May 2016 13:27:55 +0000 (15:27 +0200)
committerJustus Winter <justus@gnupg.org>
Fri, 27 May 2016 13:27:55 +0000 (15:27 +0200)
--
Signed-off-by: Justus Winter <justus@gnupg.org>
tests/gpg/t-file-name.c

index eb20fc0..dad4bd9 100644 (file)
@@ -87,7 +87,7 @@ main (int argc, char *argv[])
     {
       fprintf (stderr, "%s:%i: Unexpected result file name: %s\n",
                __FILE__, __LINE__,
-              result->file_name ? "(null)" : result->file_name);
+              result->file_name ? result->file_name : "(null)");
       exit (1);
     }