Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
symbolic-ref --short: abbreviate the output unambiguously
[gitweb.git]
/
t
/
t1502-rev-parse-parseopt.sh
diff --git
a/t/t1502-rev-parse-parseopt.sh
b/t/t1502-rev-parse-parseopt.sh
index b3195c47070b35d555f8cfae90497a2d00d10ca7..1efd7f76ddea8dbd788032c5a9076270d1159825 100755
(executable)
--- 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
'