diff --git a/test/box/args.result b/test/box/args.result index 7bf5ec89e516da4773186aabf15654d84593f3f4..eaf9313bfbb06245c6f0cbd792e53912e94e04b6 100644 --- a/test/box/args.result +++ b/test/box/args.result @@ -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 + diff --git a/test/box/args.test b/test/box/args.test index f51766a25af318a735dc407b3dbb6b6a1eb7d9db..2d014d162aafd4ee67245817bf08200b0a61b069 100644 --- a/test/box/args.test +++ b/test/box/args.test @@ -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