Index: tests/submodule-merge-test.sh |
diff --git a/tests/submodule-merge-test.sh b/tests/submodule-merge-test.sh |
index 8818a2a5c11e997ccf816ca95e7d03353eeb533a..2dc49ea233bf1017240a05a9073a0e816474cc2b 100755 |
--- a/tests/submodule-merge-test.sh |
+++ b/tests/submodule-merge-test.sh |
@@ -5,6 +5,8 @@ |
# found in the LICENSE file. |
set -e |
+SCRIPT_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd) |
+cd ${SCRIPT_DIR} |
. ./test-lib.sh |
@@ -43,7 +45,7 @@ TBR=foo" |
cd git-svn-submodule |
git svn fetch |
- last_svn_rev=`git show refs/remotes/trunk | grep git-svn-id: | \ |
+ last_svn_rev=`git show refs/remotes/origin/trunk | grep git-svn-id: | \ |
grep -o trunk@[0-9]* | xargs` |
test_expect_success "git svn fetch gets new svn revision" \ |