A fix and a test case for Bug#726778
A fix and a test case for Bug#726778 "Gopt broke wal_dir and snap_dir: they are no longer relative to work_dir". Ensure that snap_dir and xlog_dir can be relative to work_dir. Ensure that chdir happens before we handle --init-storage. Do not mix declarations and definitions for recovery_state. Add a test case to args.test.
Showing
- core/tarantool.c 22 additions, 21 deletionscore/tarantool.c
- include/log_io.h 1 addition, 1 deletioninclude/log_io.h
- include/tarantool.h 1 addition, 1 deletioninclude/tarantool.h
- test/box/args.result 15 additions, 0 deletionstest/box/args.result
- test/box/args.test 28 additions, 0 deletionstest/box/args.test
- test/box/bug726778.cfg 27 additions, 0 deletionstest/box/bug726778.cfg
test/box/bug726778.cfg
0 → 100644
Please register or sign in to comment