tests: add missing double quotes to included library paths

Fix inclusion errors which would occur if the $TEST_DIRECTORY had $IFS whitespace in it. See d42bab442d7 (core.fsyncmethod: tests for batch mode, 2022-04-04) and a242c150ebb (vimdiff: integrate layout tests in the unit tests framework ('t' folder), 2022-03-30) for the two relevant commits. Both were first released with v2.37.0-rc0 (and were also part of v2.37.0). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Jun 30, 2022 at 12:18 UTC 386e7a9d307938eb9827c1c65ef75dc38daf0b3c
3 files changed +3 -3
t/t3700-add.sh
+1 -1
@@ -8,7 +8,7 @@ test_description='Test of git add, including the -- option.'
8 TEST_PASSES_SANITIZE_LEAK=true
9 . ./test-lib.sh
10
11 -. $TEST_DIRECTORY/lib-unique-files.sh
11 +. "$TEST_DIRECTORY"/lib-unique-files.sh
12
13 # Test the file mode "$1" of the file "$2" in the index.
14 test_mode_in_index () {
t/t3903-stash.sh
+1 -1
@@ -9,7 +9,7 @@ GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
9 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
10
11 . ./test-lib.sh
12 -. $TEST_DIRECTORY/lib-unique-files.sh
12 +. "$TEST_DIRECTORY"/lib-unique-files.sh
13
14 test_expect_success 'usage on cmd and subcommand invalid option' '
15 test_expect_code 129 git stash --invalid-option 2>usage &&
t/t7609-mergetool--lib.sh
+1 -1
@@ -7,7 +7,7 @@ Testing basic merge tools options'
7 . ./test-lib.sh
8
9 test_expect_success 'mergetool --tool=vimdiff creates the expected layout' '
10 - . $GIT_BUILD_DIR/mergetools/vimdiff &&
10 + . "$GIT_BUILD_DIR"/mergetools/vimdiff &&
11 run_unit_tests
12 '
13