mugit/testscript/http-clone-private.txtar (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com test: add missing tests (#5)..., 2 months ago
olexsmir@gmail.com test: add missing tests (#5)..., 2 months ago
| 1 | # http: deny access to private repos |
| 2 | |
| 3 | git init local |
| 4 | cp readme.txt local/readme.txt |
| 5 | git -C local add . |
| 6 | git -C local commit -m 'init' |
| 7 | |
| 8 | mugit repo new http-private |
| 9 | mugit repo private http-private |
| 10 | |
| 11 | git -C local push file://$REPOS/http-private.git master |
| 12 | |
| 13 | |
| 14 | ! exec git clone $MURL/http-private private-clone |
| 15 | stderr 'remote: repository not found' |
| 16 | |
| 17 | |
| 18 | -- readme.txt -- |
| 19 | private repo |