##// 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 Test upgrade and downgrade
165 Test upgrade and downgrade
166 ==========================
166 ==========================
167
167
168 $ ls .hg/dirstate-tracked-hint
168 $ test -f .hg/dirstate-tracked-hint
169 .hg/dirstate-tracked-hint
170 $ hg debugrequires | grep 'tracked'
169 $ hg debugrequires | grep 'tracked'
171 dirstate-tracked-key-v1
170 dirstate-tracked-key-v1
172
171
@@ -181,9 +180,8 b' downgrade'
181
180
182 no revlogs to process
181 no revlogs to process
183
182
184 $ ls -1 .hg/dirstate-tracked-hint
183 $ test -f .hg/dirstate-tracked-hint
185 ls: *.hg/dirstate-tracked-hint*: $ENOENT$ (glob)
184 [1]
186 [2]
187 $ hg debugrequires | grep 'tracked'
185 $ hg debugrequires | grep 'tracked'
188 [1]
186 [1]
189
187
@@ -198,8 +196,7 b' upgrade'
198
196
199 no revlogs to process
197 no revlogs to process
200
198
201 $ ls -1 .hg/dirstate-tracked-hint
199 $ test -f .hg/dirstate-tracked-hint
202 .hg/dirstate-tracked-hint
203 $ hg debugrequires | grep 'tracked'
200 $ hg debugrequires | grep 'tracked'
204 dirstate-tracked-key-v1
201 dirstate-tracked-key-v1
205 $ cd ..
202 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now