Merge branch 'ps/t1509-chroot-test-fixup'
t1509 test that requires a dedicated VM environment had some bitrot, which has been corrected. * ps/t1509-chroot-test-fixup: tests: fix cleanup after tests in t1509-root-worktree tests: fix broken && chains in t1509-root-worktree
This commit is contained in:
commit
034603f0a3
@ -125,7 +125,7 @@ fi
|
|||||||
ONE_SHA1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
|
ONE_SHA1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
|
||||||
|
|
||||||
test_expect_success 'setup' '
|
test_expect_success 'setup' '
|
||||||
rm -rf /foo
|
rm -rf /foo &&
|
||||||
mkdir /foo &&
|
mkdir /foo &&
|
||||||
mkdir /foo/bar &&
|
mkdir /foo/bar &&
|
||||||
echo 1 > /foo/foome &&
|
echo 1 > /foo/foome &&
|
||||||
@ -218,7 +218,7 @@ unset GIT_WORK_TREE
|
|||||||
|
|
||||||
test_expect_success 'go to /' 'cd /'
|
test_expect_success 'go to /' 'cd /'
|
||||||
test_expect_success 'setup' '
|
test_expect_success 'setup' '
|
||||||
rm -rf /.git
|
rm -rf /.git &&
|
||||||
echo "Initialized empty Git repository in /.git/" > expected &&
|
echo "Initialized empty Git repository in /.git/" > expected &&
|
||||||
git init > result &&
|
git init > result &&
|
||||||
test_cmp expected result
|
test_cmp expected result
|
||||||
@ -241,8 +241,8 @@ say "auto bare gitdir"
|
|||||||
|
|
||||||
# DESTROYYYYY!!!!!
|
# DESTROYYYYY!!!!!
|
||||||
test_expect_success 'setup' '
|
test_expect_success 'setup' '
|
||||||
rm -rf /refs /objects /info /hooks
|
rm -rf /refs /objects /info /hooks &&
|
||||||
rm /*
|
rm -f /expected /ls.expected /me /result &&
|
||||||
cd / &&
|
cd / &&
|
||||||
echo "Initialized empty Git repository in /" > expected &&
|
echo "Initialized empty Git repository in /" > expected &&
|
||||||
git init --bare > result &&
|
git init --bare > result &&
|
||||||
|
Loading…
Reference in New Issue
Block a user