Skip to content
Snippets Groups Projects
Commit 5bb5699b authored by Pavel Cherenkov's avatar Pavel Cherenkov
Browse files

bug920951: restart/stop-server logic of cat.test corrected

parent da755639
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,14 @@ print """
# This way we check that the server can read old snapshots (v11)
# going forward.
"""
server.stop()
snapshot = os.path.join(vardir, "00000000000000000500.snap")
os.symlink(os.path.abspath("box/00000000000000000500.snap"), snapshot)
server.test_option("--cat=00000000000000000500.snap")
# server.start()
server.restart()
# print "# Restore the default server..."
# server.stop()
os.unlink(snapshot)
server.stop()
# __EOF__
......@@ -22,8 +22,8 @@ Insert OK, 1 row affected
select * from t0 where k1='Richard' or k1='Tomas' or k1='Tomas' limit 5
Found 5 tuples:
['Doe', 'Richard']
['Roe', 'Richard']
['Woe', 'Richard']
['Roe', 'Richard']
['Major', 'Tomas']
['Kytes', 'Tomas']
#
......
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