Skip to content

Commit 72561e3

Browse files
benknoblegitster
authored andcommitted
t1517: fixup for ua/t1517-short-help-tests
- fix instaweb test prereqs Signed-off-by: D. Ben Knoble <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6585f54 commit 72561e3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

t/t1517-outside-repo.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,13 @@ do
123123
*)
124124
expect_outcome=expect_success ;;
125125
esac
126-
test_$expect_outcome "'git $cmd -h' outside a repository" '
126+
case "$cmd" in
127+
instaweb)
128+
prereq=PERL ;;
129+
*)
130+
prereq= ;;
131+
esac
132+
test_$expect_outcome $prereq "'git $cmd -h' outside a repository" '
127133
test_expect_code 129 nongit git $cmd -h >usage &&
128134
test_grep "[Uu]sage: git $cmd " usage
129135
'

0 commit comments

Comments
 (0)