view tests/test-lock-badness @ 5855:a6ccb957fd07

Solaris compatibility fixes for test-keyword: - do not use /bin/false (yields 255 instead of 1) - do not use "cd -", simply use "cd .." instead.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 14 Jan 2008 09:00:23 +0100
parents c0b449154a90
children
line wrap: on
line source

#!/bin/sh

hg init a
echo a > a/a
hg --cwd a ci -A -m a
hg clone a b
echo b > b/b
hg --cwd b ci -A -m b
chmod 100 a/.hg/store
hg --cwd b push ../a
chmod 700 a/.hg/store