Skip to content

Commit

Permalink
WT-6227 Fix testutil macro usage and add block backup to smoke.sh. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sueloverso committed May 15, 2020
1 parent bf86d58 commit 4ebe137
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/format/backup.c
Expand Up @@ -299,7 +299,7 @@ copy_blocks(WT_SESSION *session, WT_CURSOR *bkup_c, const char *name)
tmp = NULL;
}
}
testutil_check(ret == WT_NOTFOUND);
testutil_assert(ret == WT_NOTFOUND);
testutil_check(incr_cur->close(incr_cur));
if (rfd != -1) {
error_sys_check(close(rfd));
Expand All @@ -308,6 +308,7 @@ copy_blocks(WT_SESSION *session, WT_CURSOR *bkup_c, const char *name)
}
free(tmp);
}

/*
* copy_file --
* Copy a single file into the backup directories.
Expand Down

0 comments on commit 4ebe137

Please sign in to comment.