warn about test suite clobbering lots of stuff

(not just ~/.ssh!)
This commit is contained in:
Sitaram Chamarty 2012-03-25 09:57:02 +05:30
parent 8de959476f
commit cb9794d55b
4 changed files with 3 additions and 7 deletions

View file

@ -1,17 +1,13 @@
# testing gitolite
Here's how to *run* the tests:
Here's how to *run* the tests. **WARNING: they will clobber lots of things in
your `$HOME`, so be sure to use a throwaway userid**.
git clone git://github.com/sitaramc/gitolite
cd gitolite
git checkout -f g3
# if you're not ok with your ~/.ssh getting clobbered
prove
# if you're ok with your ~/.ssh getting clobbered
# prove t/*.t t/ssh*
Gitolite's test suite is mostly written using [tsh][] -- the "testing shell".
Take a look at some of the scripts and you will see what it looks like. It
has a few quirks and nuances; if you really care, email me.

View file

@ -51,7 +51,7 @@ try "
# clean install
mkdir -p $ENV{HOME}/bin
ln -sf $ENV{PWD}/src/gitolite $ENV{PWD}/t/glt ~/bin
cd; rm -vrf .gito* gito* repositories
cd; rm -vrf .gito* repositories
git config --global user.name \"gitolite tester\"
git config --global user.email \"tester\@example.com\"