this tempdir home stuff is unnecessary

the test framework already resets $HOME/.gitconfig
This commit is contained in:
risk danger olson 2015-07-10 10:43:49 -06:00
parent bf2691c8d6
commit 0e30dba7c8

@ -6,12 +6,6 @@ begin_test "init again"
( (
set -e set -e
tmphome="$(basename "$0" ".sh")"
mkdir -p $tmphome
cp $HOME/.gitconfig $tmphome/
HOME=$PWD/$tmphome
cd $HOME
[ "git-lfs smudge %f" = "$(git config filter.lfs.smudge)" ] [ "git-lfs smudge %f" = "$(git config filter.lfs.smudge)" ]
[ "git-lfs clean %f" = "$(git config filter.lfs.clean)" ] [ "git-lfs clean %f" = "$(git config filter.lfs.clean)" ]
@ -26,11 +20,6 @@ begin_test "init with old settings"
( (
set -e set -e
tmphome="$(basename "$0" ".sh")"
mkdir -p $tmphome
HOME=$PWD/$tmphome
cd $HOME
git config --global filter.lfs.smudge "git lfs smudge %f" git config --global filter.lfs.smudge "git lfs smudge %f"
git config --global filter.lfs.clean "git lfs clean %f" git config --global filter.lfs.clean "git lfs clean %f"