##// END OF EJS Templates
test-dirstate: print something when the check is skipped...
Raphaël Gomès -
r50052:682b0ac9 stable
parent child Browse files
Show More
@@ -136,6 +136,8 b' valid.'
136 > # Non-Rust always rewrites the whole dirstate
136 > # Non-Rust always rewrites the whole dirstate
137 > if [ $# -eq 1 ] || ([ -n "$HGMODULEPOLICY" ] && [ -z "${HGMODULEPOLICY##*rust*}" ]) || [ -n "$RHG_INSTALLED_AS_HG" ]; then
137 > if [ $# -eq 1 ] || ([ -n "$HGMODULEPOLICY" ] && [ -z "${HGMODULEPOLICY##*rust*}" ]) || [ -n "$RHG_INSTALLED_AS_HG" ]; then
138 > test $current_uid = $(find_dirstate_uuid)
138 > test $current_uid = $(find_dirstate_uuid)
139 > else
140 > echo "not testing because using Python implementation"
139 > fi
141 > fi
140 > }
142 > }
141
143
@@ -156,6 +158,7 b' Nothing changes here'
156 $ dirstate_data_files | wc -l
158 $ dirstate_data_files | wc -l
157 *1 (re)
159 *1 (re)
158 $ dirstate_uuid_has_not_changed
160 $ dirstate_uuid_has_not_changed
161 not testing because using Python implementation (no-rust no-rhg !)
159
162
160 Trigger an append with a small change
163 Trigger an append with a small change
161
164
@@ -165,6 +168,7 b' Trigger an append with a small change'
165 $ dirstate_data_files | wc -l
168 $ dirstate_data_files | wc -l
166 *1 (re)
169 *1 (re)
167 $ dirstate_uuid_has_not_changed
170 $ dirstate_uuid_has_not_changed
171 not testing because using Python implementation (no-rust no-rhg !)
168
172
169 Unused bytes counter is non-0 when appending
173 Unused bytes counter is non-0 when appending
170 $ touch file
174 $ touch file
@@ -178,6 +182,7 b' Trigger a rust/rhg run which updates the'
178 $ dirstate_data_files | wc -l
182 $ dirstate_data_files | wc -l
179 *1 (re)
183 *1 (re)
180 $ dirstate_uuid_has_not_changed
184 $ dirstate_uuid_has_not_changed
185 not testing because using Python implementation (no-rust no-rhg !)
181
186
182 $ hg debugstate --docket | grep unused
187 $ hg debugstate --docket | grep unused
183 number of unused bytes: 0 (no-rust no-rhg !)
188 number of unused bytes: 0 (no-rust no-rhg !)
General Comments 0
You need to be logged in to leave comments. Login now