No subject
Thu Jun 12 23:09:36 BST 2008
diff --git a/../../t5515/fetch.master_remote-glob b/0042-fetch.master_remote-glob
* ok 42: master remote-glob
* 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