chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@@ tvec wip
[mLib]
/
utils
/
t
/
versioncmp-test.c
diff --git
a/utils/t/versioncmp-test.c
b/utils/t/versioncmp-test.c
index 0fb344c1559f7c69738560cb66aa194b7f6b6afe..5e13e155e5f0f7685fb7ae544b7e784e74cba4e3 100644
(file)
--- a/
utils/t/versioncmp-test.c
+++ b/
utils/t/versioncmp-test.c
@@
-54,18
+54,18
@@
static const struct tvec_regdef versioncmp_regs[] = {
{ "v0", RV0, &tvty_string, 0 },
{ "v1", RV1, &tvty_string, 0 },
{ "rc", RRC, &tvty_int, 0, { &cmp_range } },
{ "v0", RV0, &tvty_string, 0 },
{ "v1", RV1, &tvty_string, 0 },
{ "rc", RRC, &tvty_int, 0, { &cmp_range } },
- { 0, 0, 0, 0 }
+ TVEC_ENDREGS
};
static const struct tvec_test tests[] = {
{ "versioncmp", versioncmp_regs, &swap_testenv, test_versioncmp },
};
static const struct tvec_test tests[] = {
{ "versioncmp", versioncmp_regs, &swap_testenv, test_versioncmp },
- { 0, 0, 0, 0 }
+ TVEC_ENDTESTS
};
};
-static const struct tvec_
info testinfo
=
+static const struct tvec_
config testconfig
=
{ tests, NROUT, NREG, sizeof(struct tvec_reg) };
int main(int argc, char *argv[])
{ tests, NROUT, NREG, sizeof(struct tvec_reg) };
int main(int argc, char *argv[])
- { return (tvec_main(argc, argv, &test
info
, 0)); }
+ { return (tvec_main(argc, argv, &test
config
, 0)); }
/*----- That's all, folks -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/