From 79fc9d43207180b4ac0b29311c4a8e43f2f78190 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 26 Mar 2013 17:08:20 +0200 Subject: Add test script for validating rebased revs handling. --- test-checkout.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 test-checkout.sh (limited to 'test-checkout.sh') 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 -- cgit v1.2.3