##// END OF EJS Templates
test-sqlitestore: run sqlite3 with no init file...
Jordi Gutiérrez Hermoso -
r41874:e1643a04 default
parent child Browse files
Show More
@@ -71,17 +71,17 b' Can make a local commit'
71 71
72 72 That results in a row being inserted into various tables
73 73
74 $ sqlite3 .hg/store/db.sqlite << EOF
74 $ sqlite3 .hg/store/db.sqlite -init /dev/null << EOF
75 75 > SELECT * FROM filepath;
76 76 > EOF
77 77 1|foo
78 78
79 $ sqlite3 .hg/store/db.sqlite << EOF
79 $ sqlite3 .hg/store/db.sqlite -init /dev/null << EOF
80 80 > SELECT * FROM fileindex;
81 81 > EOF
82 82 1|1|0|-1|-1|0|0|1||6/\xef(L\xe2\xca\x02\xae\xcc\x8d\xe6\xd5\xe8\xa1\xc3\xaf\x05V\xfe (esc)
83 83
84 $ sqlite3 .hg/store/db.sqlite << EOF
84 $ sqlite3 .hg/store/db.sqlite -init /dev/null << EOF
85 85 > SELECT * FROM delta;
86 86 > EOF
87 87 1|1| \xd2\xaf\x8d\xd2"\x01\xdd\x8dH\xe5\xdc\xfc\xae\xd2\x81\xff\x94"\xc7|0 (esc)
@@ -93,7 +93,7 b' Tracking multiple files works'
93 93 $ hg commit -A -m 'add bar'
94 94 adding bar
95 95
96 $ sqlite3 .hg/store/db.sqlite << EOF
96 $ sqlite3 .hg/store/db.sqlite -init /dev/null << EOF
97 97 > SELECT * FROM filedata ORDER BY id ASC;
98 98 > EOF
99 99 1|1|foo|0|6/\xef(L\xe2\xca\x02\xae\xcc\x8d\xe6\xd5\xe8\xa1\xc3\xaf\x05V\xfe|-1|-1|0|0|1| (esc)
@@ -104,7 +104,7 b' Multiple revisions of a file works'
104 104 $ echo a >> foo
105 105 $ hg commit -m 'modify foo'
106 106
107 $ sqlite3 .hg/store/db.sqlite << EOF
107 $ sqlite3 .hg/store/db.sqlite -init /dev/null << EOF
108 108 > SELECT * FROM filedata ORDER BY id ASC;
109 109 > EOF
110 110 1|1|foo|0|6/\xef(L\xe2\xca\x02\xae\xcc\x8d\xe6\xd5\xe8\xa1\xc3\xaf\x05V\xfe|-1|-1|0|0|1| (esc)
General Comments 0
You need to be logged in to leave comments. Login now