tests,json: Suffix .json to test pattern
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 14 Nov 2018 13:53:28 +0000 (14:53 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 14 Nov 2018 13:53:28 +0000 (14:53 +0100)
* tests/json/t-config.in, tests/json/t-config.out: Renamed.
* t-json.c (run_test): Use new naming pattern.

tests/json/t-config.in.json [moved from tests/json/t-config.in with 100% similarity]
tests/json/t-config.out.json [moved from tests/json/t-config.out with 100% similarity]
tests/json/t-json.c

index 0bd35b5..26f870c 100644 (file)
@@ -261,9 +261,9 @@ run_test (const char *test, const char *gpgme_json)
       exit(1);
     }
 
-  gpgrt_asprintf (&test_in, "%s/tests/json/%s.in",
+  gpgrt_asprintf (&test_in, "%s/tests/json/%s.in.json",
                   top_srcdir, test);
-  gpgrt_asprintf (&test_out, "%s/tests/json/%s.out",
+  gpgrt_asprintf (&test_out, "%s/tests/json/%s.out.json",
                   top_srcdir, test);
 
   printf ("Running %s...\n", test);