tests/test-execute-bit
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 15 Feb 2008 23:38:18 -0200
changeset 6127 25c372e8f261
parent 5495 363ba35f55bd
child 6158 23ffe82615d8
permissions -rwxr-xr-x
Simplify the output of test-bheads Also remove unneeded -d and -u commit options.

#!/bin/sh

"$TESTDIR/hghave" execbit || exit 80

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