tests/test-permissions
author Lee Cantey <lcantey@gmail.com>
Fri, 24 Mar 2006 08:27:24 +0100
changeset 1992 ea8345a7a29d
parent 1933 7544700fd931
child 2223 b72562060e45
permissions -rwxr-xr-x
Include templates/static/* in MANIFEST.in so that distutils setup will include them.

#!/bin/sh

hg init
echo foo > a
hg add a
hg commit -m "1" -d "1000000 0"
hg verify
chmod -r .hg/data/a.d
hg verify 2>/dev/null || echo verify failed
chmod +r .hg/data/a.d
hg verify 2>/dev/null || echo verify failed
chmod -w .hg/data/a.d
echo barber > a
hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed