@@ -442,6 +442,42 @@ else
fixme "get_source returned ${out}"
fi
+in="bitbake.git"
+out="`get_source ${in} 2>/dev/null`"
+if test x"${out}" = x"git://git.openembedded.org/bitbake"; then
+ pass "get_source: ${sources_conf}:${in} matching non .git suffixed repo."
+else
+ fail "get_source: ${sources_conf}:${in} matching non .git suffixed repo."
+ fixme "get_source returned ${out}"
+fi
+
+in="foo.git"
+out="`get_source ${in} 2>/dev/null`"
+if test x"${out}" = x"git://testingrepository/foo"; then
+ pass "get_source: ${sources_conf}:${in} matching non .git suffixed repo."
+else
+ fail "get_source: ${sources_conf}:${in} matching non .git suffixed repo."
+ fixme "get_source returned ${out}"
+fi
+
+in="foo.git/bar"
+out="`get_source ${in} 2>/dev/null`"
+if test x"${out}" = x"git://testingrepository/foo bar"; then
+ pass "get_source: ${sources_conf}:${in} matching non .git suffixed repo with branch."
+else
+ fail "get_source: ${sources_conf}:${in} matching non .git suffixed repo with branch."
+ fixme "get_source returned ${out}"
+fi
+
+in="foo.git/bar@rev"
+out="`get_source ${in} 2>/dev/null`"
+if test x"${out}" = x"git://testingrepository/foo bar rev"; then
+ pass "get_source: ${sources_conf}:${in} matching non .git suffixed repo with branch and revision."
+else
+ fail "get_source: ${sources_conf}:${in} matching non .git suffixed repo with branch and revision."
+ fixme "get_source returned ${out}"
+fi
+
# ----------------------------------------------------------------------------------
echo "========= create_release_tag() tests ============"
@@ -45,3 +45,6 @@ openembedded-core.git git://git.openembedded.org/openembedded-core
valgrind svn://svn.valgrind.org/valgrind/trunk
qemu.git git://git.qemu.org/qemu.git
qemu-linaro.git git://git.linaro.org/qemu/qemu-linaro.git
+
+# For Testing Only
+foo.git git://testingrepository/foo
From: "Ryan S. Arnold" <ryan.arnold@linaro.org> --- testsuite/test.sh | 36 ++++++++++++++++++++++++++++++++++++ testsuite/test_sources.conf | 3 +++ 2 files changed, 39 insertions(+)