Implement #! (aka hashbang, aka shebang) (gh-184)
Allow start of tarnatool_box in #! form. Remove script_dir. Make all configuration options optional (primary_port was the last one required). Make the configuration file itself optional. If no watcher is started for the event loop, either based on the config file settings, or in the #! script, do not start the event loop. Update the test runner to take the new changes into account. Fix a bug in symbols_load() when no symbols could be loaded when path to executable was neither relative nor absolute (but based on PATH). Fix a bug with ignored return value of slab_arena_create() in tuple.cc
Showing
- cfg/core_cfg.cfg_tmpl 1 addition, 4 deletionscfg/core_cfg.cfg_tmpl
- cfg/tarantool_box_cfg.c 0 additions, 43 deletionscfg/tarantool_box_cfg.c
- cfg/tarantool_box_cfg.h 0 additions, 3 deletionscfg/tarantool_box_cfg.h
- src/CMakeLists.txt 1 addition, 0 deletionssrc/CMakeLists.txt
- src/admin.cc 2 additions, 0 deletionssrc/admin.cc
- src/box/tuple.cc 7 additions, 4 deletionssrc/box/tuple.cc
- src/find_path.c 48 additions, 0 deletionssrc/find_path.c
- src/iproto.cc 10 additions, 9 deletionssrc/iproto.cc
- src/lib/small/slab_arena.c 2 additions, 1 deletionsrc/lib/small/slab_arena.c
- src/lib/small/slab_arena.h 1 addition, 1 deletionsrc/lib/small/slab_arena.h
- src/lua/init.cc 12 additions, 28 deletionssrc/lua/init.cc
- src/lua/init.h 1 addition, 1 deletionsrc/lua/init.h
- src/tarantool.cc 67 additions, 53 deletionssrc/tarantool.cc
- src/tarantool.h 0 additions, 1 deletionsrc/tarantool.h
- src/trivia/util.h 2 additions, 0 deletionssrc/trivia/util.h
- src/util.cc 23 additions, 2 deletionssrc/util.cc
- test/box/admin.result 7 additions, 8 deletionstest/box/admin.result
- test/box/cfg.result 14 additions, 16 deletionstest/box/cfg.result
- test/box/configuration.result 10 additions, 10 deletionstest/box/configuration.result
- test/box/configuration.test.py 15 additions, 6 deletionstest/box/configuration.test.py
Loading
Please register or sign in to comment