X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1502-rev-parse-parseopt.sh;h=1efd7f76ddea8dbd788032c5a9076270d1159825;hb=abe27c0cbd97bf6a693004ddb411392ed596a853;hp=b3195c47070b35d555f8cfae90497a2d00d10ca7;hpb=1253164c8badf75034b8ba7c1cfabb1993fa7cf7;p=git.git diff --git a/t/t1502-rev-parse-parseopt.sh b/t/t1502-rev-parse-parseopt.sh index b3195c470..1efd7f76d 100755 --- a/t/t1502-rev-parse-parseopt.sh +++ b/t/t1502-rev-parse-parseopt.sh @@ -40,7 +40,7 @@ extra1 line above used to cause a segfault but no longer does EOF test_expect_success 'test --parseopt help output' ' - git rev-parse --parseopt -- -h > output < optionspec + test_expect_code 129 git rev-parse --parseopt -- -h > output < optionspec && test_cmp expect output '