File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5071,7 +5071,8 @@ test_expect_success '12i: Directory rename causes rename-to-self' '
5071
5071
test_path_is_file source/bar &&
5072
5072
test_path_is_file source/baz &&
5073
5073
5074
- git ls-files | uniq >tracked &&
5074
+ git ls-files >actual &&
5075
+ uniq <actual >tracked &&
5075
5076
test_line_count = 3 tracked &&
5076
5077
5077
5078
git status --porcelain -uno >actual &&
@@ -5129,7 +5130,8 @@ test_expect_success '12j: Directory rename to root causes rename-to-self' '
5129
5130
test_path_is_file bar &&
5130
5131
test_path_is_file baz &&
5131
5132
5132
- git ls-files | uniq >tracked &&
5133
+ git ls-files >actual &&
5134
+ uniq <actual >tracked &&
5133
5135
test_line_count = 3 tracked &&
5134
5136
5135
5137
git status --porcelain -uno >actual &&
@@ -5187,7 +5189,8 @@ test_expect_success '12k: Directory rename with sibling causes rename-to-self' '
5187
5189
test_path_is_file dirA/bar &&
5188
5190
test_path_is_file dirA/baz &&
5189
5191
5190
- git ls-files | uniq >tracked &&
5192
+ git ls-files >actual &&
5193
+ uniq <actual >tracked &&
5191
5194
test_line_count = 3 tracked &&
5192
5195
5193
5196
git status --porcelain -uno >actual &&
You can’t perform that action at this time.
0 commit comments