summaryrefslogtreecommitdiff
path: root/misc/tests/git-server-git-protocol.sh
blob: a3eccf4d3ee0c16e4b53855f228b6b39e1337051 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/env bash

tmp=`mktemp -d`

cd $tmp

# Git protocol
git clone git://git.ilvokhin.com/infra.git > /dev/null 2>&1

if [ $? -eq 0 ]; then
    echo "git: OK"
    rm -rf infra
else
    echo "git: FAIL"
fi

cd - > /dev/null
rm -rf $tmp