mugit/testscript/cli-repo-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 | mugit repo new test-private |
| 2 | |
| 3 | |
| 4 | exec cat $REPOS/test-private.git/config |
| 5 | stdout 'private = false' |
| 6 | |
| 7 | |
| 8 | mugit repo private test-private |
| 9 | stderr 'is_private=true' # fix output |
| 10 | |
| 11 | exec cat $REPOS/test-private.git/config |
| 12 | stdout 'private = true' |
| 13 | |
| 14 | |
| 15 | mugit repo private test-private.git |
| 16 | stderr 'is_private=false' # fix output |
| 17 | |
| 18 | exec cat $REPOS/test-private.git/config |
| 19 | stdout 'private = false' |