view tests/test-execute-bit @ 6087:12856a1742dc

better handle errors with date parsing (issue983) Windows cannot always handle a 1970-01-01 parameter to time.mktime().
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 13 Feb 2008 16:46:43 +0100
parents bf2bb53e5d2b
children 363ba35f55bd
line wrap: on
line source

#!/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