From b93612bcfcf2e35e6c70efd772e84f86d0ccf931 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sat, 4 Mar 2017 19:17:06 -0800 Subject: [PATCH] t*.sh: remove GIT_CEILING_DIRECTORIES settings The testing library now handles making sure that the GIT_CEILING_DIRECTORIES variable is set properly to avoid accidents. Therefore remove the explicit settings from the individual tests that needed it since they are now redundant. Signed-off-by: Kyle J. McKay --- t/t1000-usage-and-version.sh | 2 -- t/t1010-help-anywhere.sh | 2 -- t/t1020-top-bases-sniff-out.sh | 2 -- t/t1030-cding-around.sh | 2 -- t/t1040-remote-options.sh | 2 -- 5 files changed, 10 deletions(-) diff --git a/t/t1000-usage-and-version.sh b/t/t1000-usage-and-version.sh index 1bf45d3..dda13e7 100755 --- a/t/t1000-usage-and-version.sh +++ b/t/t1000-usage-and-version.sh @@ -10,8 +10,6 @@ TEST_NO_CREATE_REPO=1 . ./test-lib.sh -GIT_CEILING_DIRECTORIES="$PWD" && export GIT_CEILING_DIRECTORIES - test_plan 8 test_expect_success 'test setup' ' diff --git a/t/t1010-help-anywhere.sh b/t/t1010-help-anywhere.sh index 69975be..3068b3a 100755 --- a/t/t1010-help-anywhere.sh +++ b/t/t1010-help-anywhere.sh @@ -10,8 +10,6 @@ TEST_NO_CREATE_REPO=1 . ./test-lib.sh -GIT_CEILING_DIRECTORIES="$PWD" && export GIT_CEILING_DIRECTORIES - test_plan 11 test_expect_success 'test setup' ' diff --git a/t/t1020-top-bases-sniff-out.sh b/t/t1020-top-bases-sniff-out.sh index 9b9b926..318941e 100755 --- a/t/t1020-top-bases-sniff-out.sh +++ b/t/t1020-top-bases-sniff-out.sh @@ -9,8 +9,6 @@ TEST_NO_CREATE_REPO=1 . ./test-lib.sh -GIT_CEILING_DIRECTORIES="$PWD" && export GIT_CEILING_DIRECTORIES - test_plan 7 test_expect_success 'test setup' ' diff --git a/t/t1030-cding-around.sh b/t/t1030-cding-around.sh index b759477..b1c81ef 100755 --- a/t/t1030-cding-around.sh +++ b/t/t1030-cding-around.sh @@ -6,8 +6,6 @@ TEST_NO_CREATE_REPO=1 . ./test-lib.sh -GIT_CEILING_DIRECTORIES="$PWD" && export GIT_CEILING_DIRECTORIES - test_plan 3 test_expect_success 'test setup' ' diff --git a/t/t1040-remote-options.sh b/t/t1040-remote-options.sh index 50faa7a..638a5e7 100755 --- a/t/t1040-remote-options.sh +++ b/t/t1040-remote-options.sh @@ -13,8 +13,6 @@ TEST_NO_CREATE_REPO=1 . ./test-lib.sh -GIT_CEILING_DIRECTORIES="$PWD" && export GIT_CEILING_DIRECTORIES - test_plan 8 test_expect_success 'test setup' ' -- 2.11.4.GIT