Merge branch 'jc/t2300-setup'
A test fix. * jc/t2300-setup: t2300: run git-sh-setup in an environment that better mimics the real lifemaint
commit
8ffc9d26e4
|
|
@ -8,7 +8,8 @@ test_cd_to_toplevel () {
|
|||
test_expect_success $3 "$2" '
|
||||
(
|
||||
cd '"'$1'"' &&
|
||||
. "$(git --exec-path)"/git-sh-setup &&
|
||||
PATH="$(git --exec-path):$PATH" &&
|
||||
. git-sh-setup &&
|
||||
cd_to_toplevel &&
|
||||
[ "$(pwd -P)" = "$TOPLEVEL" ]
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue