diff --git a/tests/code/dup.c b/tests/code/dup.c index 3690e50e..6b88002c 100644 --- a/tests/code/dup.c +++ b/tests/code/dup.c @@ -45,7 +45,7 @@ int main(void) { count_assert(srvs.virtstyle == srvd->virtstyle); count_assert(srvs.cidrlen == srvd->cidrlen); count_assert(stringcmp(srvs.prerun, srvd->prerun) == 0); - count_assert(stringcmp(srvs.postrun, srvs.postrun) == 0); + count_assert(stringcmp(srvs.postrun, srvd->postrun) == 0); count_assert(stringcmp(srvs.servename, srvd->servename) == 0); count_assert(srvs.max_connections == srvd->max_connections); count_assert(stringcmp(srvs.transactionlog, srvd->transactionlog) == 0);