Skip to content
Snippets Groups Projects
Commit ece3f504 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge branch 'bug-cat-command'

parents 157f6824 36c895c0
No related branches found
No related tags found
No related merge requests found
......@@ -94,3 +94,10 @@ tarantool_box: creating `snapshots/00000000000000000001.snap.inprogress'
tarantool_box: saving snapshot `snapshots/00000000000000000001.snap'
tarantool_box: done
#
# A test case for Bug#897162, cat command should
# not require a configuration file.
tarantool_box --config=nonexists.cfg --cat=nonexists.xlog
tarantool_box: access("nonexists.xlog"): No such file or directory
......@@ -56,5 +56,13 @@ sys.stdout.pop_filter()
os.unlink(cfg)
shutil.rmtree(os.path.join(vardir, "bug726778"))
print """#
# A test case for Bug#897162, cat command should
# not require a configuration file.
"""
sys.stdout.push_filter("(/\S+)+/tarantool", "tarantool")
server.test_option("--config=nonexists.cfg --cat=nonexists.xlog")
sys.stdout.pop_filter()
# Args filter cleanup
# vim: syntax=python
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment