diff options
-rwxr-xr-x | test-checkout.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test-checkout.sh b/test-checkout.sh new file mode 100755 index 0000000..ccb6dd7 --- /dev/null +++ b/test-checkout.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +rm -rf checkout +mkdir checkout +cd checkout + +test_one () { + D=$PWD + mkdir $1 + cd $1 + repo init -q -u git://git.linaro.org/people/pfalcon/repo-rebased/manifest.git -m $1.xml + repo sync + cd repo-rebased-fetch-$1 + git describe --always + cd $D +} + +test_one by-branch +test_one by-branch-rev +test_one by-tag +test_one by-tag-rev |