mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2025-11-15 15:35:49 +01:00
test: properly check for mercurial
We want to fail if it's not present, not skip the tests. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
@@ -14,12 +14,6 @@ test_description='Test remote-hg output compared to hg-git'
|
||||
|
||||
export EXPECTED_DIR="$SHARNESS_TEST_DIRECTORY/expected"
|
||||
|
||||
if ! python -c 'import mercurial' > /dev/null 2>&1
|
||||
then
|
||||
skip_all='skipping remote-hg tests; mercurial not available'
|
||||
test_done
|
||||
fi
|
||||
|
||||
git_clone () {
|
||||
git clone -q "hg::$1" $2 &&
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user