diff options
Diffstat (limited to 'test/format/rebalance.c')
-rw-r--r-- | test/format/rebalance.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/format/rebalance.c b/test/format/rebalance.c index 5fd86ef3317..9849b7df82b 100644 --- a/test/format/rebalance.c +++ b/test/format/rebalance.c @@ -73,12 +73,14 @@ wts_rebalance(void) testutil_checkfmt(system(cmd), "command failed: %s", cmd); /* Compare the old/new versions of the object. */ - (void)snprintf(cmd, sizeof(cmd), #ifdef _WIN32 + (void)snprintf(cmd, sizeof(cmd), "fc /b %s\\rebalance.orig %s\\rebalance.new > NUL", + g.home, g.home); #else + (void)snprintf(cmd, sizeof(cmd), "cmp %s/rebalance.orig %s/rebalance.new > /dev/null", -#endif g.home, g.home); +#endif testutil_checkfmt(system(cmd), "command failed: %s", cmd); } |