Mercurial > hg-stable
changeset 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 | 3ab405e070bb |
children | 2dd399d8a992 f252ba975925 |
files | tests/test-execute-bit tests/test-execute-bit.out |
diffstat | 2 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-execute-bit Fri Oct 26 16:43:13 2007 -0700 @@ -0,0 +1,13 @@ +#!/bin/sh + +hg init +echo a > a +hg ci -d'0 0' -Am'not executable' + +chmod +x a +hg ci -d'1 0' -m'executable' +hg id + +hg up 0 +hg id +test -x a && echo executable -- eek || echo not executable -- whew