mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 04:17:15 +02:00
Fix test that hard codes tokudb_dump path
This commit is contained in:
parent
d98a25bb41
commit
4e0b513831
1 changed files with 3 additions and 2 deletions
|
|
@ -206,8 +206,9 @@ do_abort_delete_first_or_last(int N,
|
|||
r=db->close(db, 0); CKERR(r);
|
||||
r=env->close(env, 0); CKERR(r);
|
||||
#if defined(TOKUDB) && defined(__unix__)
|
||||
char cmd[sizeof("../../utils/tokudb_dump -h foo.db >") + 2 * TOKU_PATH_MAX];
|
||||
snprintf(cmd, sizeof(cmd), "../../utils/tokudb_dump -h %s foo.db > %s", TOKU_TEST_FILENAME, DEV_NULL_FILE);
|
||||
// Oh man, this is gross.
|
||||
char cmd[sizeof("../../tools/tokudb_dump -h foo.db >") + 2 * TOKU_PATH_MAX];
|
||||
snprintf(cmd, sizeof(cmd), "../../tools/tokudb_dump -h %s foo.db > %s", TOKU_TEST_FILENAME, DEV_NULL_FILE);
|
||||
r=system(cmd);
|
||||
CKERR(r);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue