diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-08 21:41:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-08 21:41:12 +0200 |
commit | 21edd1e9038cef97c6004dc0b626be43c2138616 (patch) | |
tree | f7f9cc7717b36827731ad85f9a4064ad32fa5acb /src/lib | |
parent | 36849108451c744c08a358f61217b273918c2e06 (diff) |
rename _new.c to just .c for tests
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Makefile.am | 16 | ||||
-rw-r--r-- | src/lib/test_exchange_api.c (renamed from src/lib/test_exchange_api_new.c) | 4 | ||||
-rw-r--r-- | src/lib/test_exchange_api_keys_cherry_picking.c (renamed from src/lib/test_exchange_api_keys_cherry_picking_new.c) | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 33d4f3277..c6a1e241c 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -157,9 +157,9 @@ endif endif check_PROGRAMS = \ - test_exchange_api_keys_cherry_picking_new \ + test_exchange_api_keys_cherry_picking \ test_exchange_api_overlapping_keys_bug \ - test_exchange_api_new \ + test_exchange_api \ test_auditor_api_version \ test_auditor_api @@ -190,9 +190,9 @@ AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH= TESTS = \ $(check_PROGRAMS) -test_exchange_api_new_SOURCES = \ - test_exchange_api_new.c -test_exchange_api_new_LDADD = \ +test_exchange_api_SOURCES = \ + test_exchange_api.c +test_exchange_api_LDADD = \ libtalertesting.la \ libtalerexchange.la \ $(LIBGCRYPT_LIBS) \ @@ -217,9 +217,9 @@ test_exchange_api_overlapping_keys_bug_LDADD = \ -lgnunetutil \ -ljansson -test_exchange_api_keys_cherry_picking_new_SOURCES = \ - test_exchange_api_keys_cherry_picking_new.c -test_exchange_api_keys_cherry_picking_new_LDADD = \ +test_exchange_api_keys_cherry_picking_SOURCES = \ + test_exchange_api_keys_cherry_picking.c +test_exchange_api_keys_cherry_picking_LDADD = \ libtalertesting.la \ libtalerexchange.la \ $(LIBGCRYPT_LIBS) \ diff --git a/src/lib/test_exchange_api_new.c b/src/lib/test_exchange_api.c index bcbdb5ea4..66314b7ce 100644 --- a/src/lib/test_exchange_api_new.c +++ b/src/lib/test_exchange_api.c @@ -18,7 +18,7 @@ */ /** - * @file exchange/test_exchange_api_new.c + * @file exchange/test_exchange_api.c * @brief testcase to test exchange's HTTP API interface * @author Sree Harsha Totakura <sreeharsha@totakura.in> * @author Christian Grothoff @@ -879,7 +879,7 @@ run (void *cls, struct TALER_TESTING_Command reserve_open_close [(RESERVE_OPEN_CLOSE_ITERATIONS * RESERVE_OPEN_CLOSE_CHUNK) + 1]; - + for (unsigned int i = 0; i < RESERVE_OPEN_CLOSE_ITERATIONS; i++) diff --git a/src/lib/test_exchange_api_keys_cherry_picking_new.c b/src/lib/test_exchange_api_keys_cherry_picking.c index e9763bd4f..91ca65603 100644 --- a/src/lib/test_exchange_api_keys_cherry_picking_new.c +++ b/src/lib/test_exchange_api_keys_cherry_picking.c @@ -18,7 +18,7 @@ */ /** - * @file exchange-lib/test_exchange_api_keys_cherry_picking_new.c + * @file exchange-lib/test_exchange_api_keys_cherry_picking.c * @brief testcase to test exchange's /keys cherry picking ability * @author Marcello Stanisci * @author Christian Grothoff @@ -215,7 +215,7 @@ run (void *cls, TALER_TESTING_cmd_check_keys_with_now ("check-keys-3", - 3, + 3, NDKS_RIGHT_BEFORE_SERIALIZATION, TTH_parse_time (JAN2030)), |