git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t0050: remove the unused $test_case variable

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 6, 2018, 23:13 UTC
Message-ID
<20180206231303.8483-1-avarab@gmail.com>

The $test_case variable hasn't been used since decd3c0c28 ("t0050-*.sh: mark the rename (case change) test as passing", 2014-11-28) when its last user went away.

Let's remove the "say" as well, since it's obvious from subsequent output that we're testing on a case sensitive filesystem.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 t/t0050-filesystem.sh | 8 --------
 1 file changed, 8 deletions(-)
diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh
index b29d749bb7..606ffddd92 100755
--- a/t/t0050-filesystem.sh
+++ b/t/t0050-filesystem.sh
@@ -7,14 +7,6 @@ test_description='Various filesystem issues'
 auml=$(printf '\303\244')
 aumlcdiar=$(printf '\141\314\210')
 
-if test_have_prereq CASE_INSENSITIVE_FS
-then
-	say "will test on a case insensitive filesystem"
-	test_case=test_expect_failure
-else
-	test_case=test_expect_success
-fi
-
 if test_have_prereq UTF8_NFD_TO_NFC
 then
 	say "will test on a unicode corrupting filesystem"
-- 
2.15.1.424.g9478a66081
Next: Johannes Sixt
Message 1 of 5 in “t0050: remove the unused $test_case variable”
  1. t0050: remove the unused $test_case variableÆvar Arnfjörð Bjarmason, Feb 6, 2018
  2. Johannes SixtFeb 7, 2018
  3. Ævar Arnfjörð BjarmasonFeb 7, 2018
  4. Johannes SixtFeb 7, 2018
  5. Ævar Arnfjörð BjarmasonFeb 7, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.