all repos

mugit @ 6e28fc101cd2a9cd0549785115c70c57fdf5995e

🐮 git server that your cow will love

mugit/testscript/ssh-push.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
test: add missing tests (#5)..., 2 months ago
1
git init local
2
cp file.txt local/file.txt
3
git -C local add file.txt
4
git -C local commit -m initial
5
6
mugit repo new ssh-push
7
exec env GIT_SSH_COMMAND=$SSH_WRAPPER git -C local push git@localhost:ssh-push.git master
8
9
exec git clone $MURL/ssh-push verify-clone
10
exists verify-clone/file.txt
11
exec cat verify-clone/file.txt
12
stdout 'hello from ssh'
13
14
-- file.txt --
15
hello from ssh