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 @@ -205,15 +205,18 @@ test_expect_success 'attribute test: read paths from stdin' '
205205test_expect_success ' attribute test: --all option' '
206206 grep -v unspecified <expect-all | sort >specified-all &&
207207 sed -e "s/:.*//" <expect-all | uniq >stdin-all &&
208- git check-attr --stdin --all <stdin-all | sort >actual &&
208+ git check-attr --stdin --all <stdin-all >tmp &&
209+ sort tmp >actual &&
209210 test_cmp specified-all actual
210211'
211212
212213test_expect_success ' attribute test: --cached option' '
213- git check-attr --cached --stdin --all <stdin-all | sort >actual &&
214+ git check-attr --cached --stdin --all <stdin-all >tmp &&
215+ sort tmp >actual &&
214216 test_must_be_empty actual &&
215217 git add .gitattributes a/.gitattributes a/b/.gitattributes &&
216- git check-attr --cached --stdin --all <stdin-all | sort >actual &&
218+ git check-attr --cached --stdin --all <stdin-all >tmp &&
219+ sort tmp >actual &&
217220 test_cmp specified-all actual
218221'
219222
You can’t perform that action at this time.
0 commit comments