comparison tests/test-execute-bit @ 5490:bf2bb53e5d2b

See if execute bit is honoured when we go back in time
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 26 Oct 2007 16:43:13 -0700
parents
children 363ba35f55bd
comparison
equal deleted inserted replaced
5489:3ab405e070bb 5490:bf2bb53e5d2b
1 #!/bin/sh
2
3 hg init
4 echo a > a
5 hg ci -d'0 0' -Am'not executable'
6
7 chmod +x a
8 hg ci -d'1 0' -m'executable'
9 hg id
10
11 hg up 0
12 hg id
13 test -x a && echo executable -- eek || echo not executable -- whew