##// END OF EJS Templates
tests: use `test -f` instead of `ls` to see if a file is present (issue6662)...
av6 -
r50668:13c0e3b4 stable
parent child Browse files
Show More
@@ -165,8 +165,7 b' update not affecting the tracked set'
165 165 Test upgrade and downgrade
166 166 ==========================
167 167
168 $ ls .hg/dirstate-tracked-hint
169 .hg/dirstate-tracked-hint
168 $ test -f .hg/dirstate-tracked-hint
170 169 $ hg debugrequires | grep 'tracked'
171 170 dirstate-tracked-key-v1
172 171
@@ -181,9 +180,8 b' downgrade'
181 180
182 181 no revlogs to process
183 182
184 $ ls -1 .hg/dirstate-tracked-hint
185 ls: *.hg/dirstate-tracked-hint*: $ENOENT$ (glob)
186 [2]
183 $ test -f .hg/dirstate-tracked-hint
184 [1]
187 185 $ hg debugrequires | grep 'tracked'
188 186 [1]
189 187
@@ -198,8 +196,7 b' upgrade'
198 196
199 197 no revlogs to process
200 198
201 $ ls -1 .hg/dirstate-tracked-hint
202 .hg/dirstate-tracked-hint
199 $ test -f .hg/dirstate-tracked-hint
203 200 $ hg debugrequires | grep 'tracked'
204 201 dirstate-tracked-key-v1
205 202 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now