add "addrc" function to test driver

This commit is contained in:
Sitaram Chamarty 2010-06-26 05:30:15 +05:30
parent c8879264e6
commit 74e15d06a0

View file

@ -40,6 +40,13 @@ editrc() {
scp ~/junk gitolite-test@localhost:.gitolite.rc >/dev/null scp ~/junk gitolite-test@localhost:.gitolite.rc >/dev/null
} }
addrc() {
ssh gitolite-test@localhost cat .gitolite.rc < /dev/null > ~/junk
tee -a ~/junk
echo '1;' >> ~/junk
scp ~/junk gitolite-test@localhost:.gitolite.rc >/dev/null
}
ugc () ugc ()
{ {
( (