tests/test-execute-bit
branchstable
changeset 12795 3cb0559e44d0
parent 12793 469850088fc1
parent 12794 6bf8d48bec8e
child 12796 bc69ba99e34b
equal deleted inserted replaced
12793:469850088fc1 12795:3cb0559e44d0
     1 #!/bin/sh
       
     2 
       
     3 "$TESTDIR/hghave" execbit || exit 80
       
     4 
       
     5 hg init
       
     6 echo a > a
       
     7 hg ci -Am'not executable'
       
     8 
       
     9 chmod +x a
       
    10 hg ci -m'executable'
       
    11 hg id
       
    12 
       
    13 echo '% make sure we notice the change of mode if the cached size == -1'
       
    14 hg rm a
       
    15 hg revert -r 0 a
       
    16 hg debugstate
       
    17 hg st
       
    18 
       
    19 hg up 0
       
    20 hg id
       
    21 test -x a && echo executable -- eek || echo not executable -- whew