tests: don't give unportable ">" to "test" built-in, use -gt
[gitweb.git] / t / t7004-tag.sh
index 6143113dbbd92a7468e86a5ee1dbc22ba78e3a17..c6791cf396a29d5b80906ee662c2f1036f372f67 100755 (executable)
@@ -1889,7 +1889,7 @@ EOF"
        run_with_limited_stack git tag --contains HEAD >actual &&
        test_cmp expect actual &&
        run_with_limited_stack git tag --no-contains HEAD >actual &&
-       test_line_count ">" 10 actual
+       test_line_count "-gt" 10 actual
 '
 
 test_expect_success '--format should list tags as per format given' '