mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-02-06 21:39:10 +01:00
It's not clear if these tests can't work, or don't work at the moment, but at least some seem to be the fault of hg, not us. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
22 lines
550 B
Bash
22 lines
550 B
Bash
#!/bin/bash
|
|
|
|
: "${SHARNESS_TEST_SRCDIR:=$(cd "$(dirname "${BASH_SOURCE-$0}")" && pwd)}"
|
|
. "$SHARNESS_TEST_SRCDIR"/sharness.sh
|
|
|
|
if ! python -c 'import mercurial' > /dev/null 2>&1
|
|
then
|
|
error 'mercurial not available'
|
|
fi
|
|
|
|
GIT_AUTHOR_EMAIL=author@example.com
|
|
GIT_AUTHOR_NAME='A U Thor'
|
|
GIT_COMMITTER_EMAIL=committer@example.com
|
|
GIT_COMMITTER_NAME='C O Mitter'
|
|
export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME
|
|
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
|
|
|
|
if [[ $(uname -s) = MSYS* ]]; then
|
|
test_set_prereq WIN
|
|
export TEST_CMP='diff --strip-trailing-cr -u'
|
|
fi
|