No subject
Thu Jun 12 23:09:36 BST 2008
diff --git a/../../t5515/fetch.br-remote-explicit_remote-explicit b/0015-fetch.br-remote-explicit_remote-explicit
* ok 15: br-remote-explicit remote-explicit
* expecting success:
{
echo "# $cmd"
set x $cmd; shift
git symbolic-ref HEAD refs/heads/$1 ; shift
rm -f .git/FETCH_HEAD
rm -f .git/refs/heads/*
rm -f .git/refs/remotes/rem/*
rm -f .git/refs/tags/*
git fetch "$@" >/dev/null
cat .git/FETCH_HEAD
} >"$actual" &&
if test -f "$expect"
then
git diff -u "$expect" "$actual" &&
rm -f "$actual"
else
# this is to help developing new tests.
cp "$actual" "$expect"
false
fi
More information about the ubuntu-autotest
mailing list