comparison tests/test-evolve-interrupted.t @ 5270:a799f5d228f1

tests: check for file existance in a portable way The precise output of ls is highly OS specific, so just use the simpler test command.
author Joerg Sonnenberger <joerg@bec.de>
date Thu, 09 Apr 2020 19:51:03 +0200
parents e78926a1a473
children 9a3798694b03
comparison
equal deleted inserted replaced
5269:baa0b481eec5 5270:a799f5d228f1
87 87
88 Test various methods of handling that unfinished state 88 Test various methods of handling that unfinished state
89 $ hg evolve --abort 89 $ hg evolve --abort
90 evolve aborted 90 evolve aborted
91 working directory is now at e1989e4b1526 91 working directory is now at e1989e4b1526
92 $ ls .hg/evolvestate 92 $ test -f .hg/evolvestate
93 ls: cannot access '?.hg/evolvestate'?: No such file or directory (re) 93 [1]
94 [2]
95 $ cat b 94 $ cat b
96 blueberry 95 blueberry
97 $ hg l 96 $ hg l
98 @ 2 apricot and blueberry 97 @ 2 apricot and blueberry
99 98